Class LVI<V>
- java.lang.Object
-
- org.jungrapht.visualization.layout.util.synthetics.SVI<V>
-
- org.jungrapht.visualization.layout.algorithms.sugiyama.LVI<V>
-
- Type Parameters:
V-
- Direct Known Subclasses:
SyntheticLV,SyntheticLV
public class LVI<V> extends SVI<V> implements LV<V>
Implementation of a vertex type for a layered layout algorithm.
Instances of LVI<V> replace instances of V during layout The LVI<V> holds metadata information about the position of the vertex in the layered graph.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends LV<V>>
Tcopy()booleanequals(Object o)intgetIndex()doublegetMeasure()PointgetPoint()intgetPos()intgetRank()inthashCode()voidsetIndex(int index)voidsetMeasure(double measure)voidsetPoint(Point p)voidsetPos(int pos)voidsetRank(int rank)StringtoString()
-
-
-
Field Detail
-
rank
protected int rank
-
index
protected int index
-
pos
protected int pos
-
measure
protected double measure
-
p
protected Point p
-
-
Method Detail
-
getMeasure
public double getMeasure()
- Specified by:
getMeasurein interfaceLV<V>
-
setMeasure
public void setMeasure(double measure)
- Specified by:
setMeasurein interfaceLV<V>
-
-