public class VertexShapeSizeAspect extends edu.uci.ics.jung.visualization.decorators.AbstractVertexShapeTransformer<SNNode>
Modifier and Type | Field and Description |
---|---|
protected boolean |
funny_shapes |
protected edu.uci.ics.jung.graph.Graph<SNNode,SNEdge> |
graph |
protected double |
max |
protected double |
min |
protected boolean |
scale |
protected boolean |
stretch |
protected java.util.Map<SNNode,java.lang.Double> |
voltages |
Constructor and Description |
---|
VertexShapeSizeAspect(edu.uci.ics.jung.graph.Graph<SNNode,SNEdge> graphIn,
java.util.Map<SNNode,java.lang.Double> voltagesIn,
double minIn,
double maxIn) |
Modifier and Type | Method and Description |
---|---|
void |
setRanking(java.util.Map<SNNode,java.lang.Double> voltagesIn,
double minIn,
double maxIn) |
void |
setScaling(boolean scale) |
void |
setStretching(boolean stretch) |
java.awt.Shape |
transform(SNNode v) |
void |
useFunnyShapes(boolean use) |
protected boolean stretch
protected boolean scale
protected boolean funny_shapes
protected java.util.Map<SNNode,java.lang.Double> voltages
protected double min
protected double max
public void setRanking(java.util.Map<SNNode,java.lang.Double> voltagesIn, double minIn, double maxIn)
public void setStretching(boolean stretch)
public void setScaling(boolean scale)
public void useFunnyShapes(boolean use)
public java.awt.Shape transform(SNNode v)