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()
boolean
equals(Object o)
int
getIndex()
double
getMeasure()
Point
getPoint()
int
getPos()
int
getRank()
int
hashCode()
void
setIndex(int index)
void
setMeasure(double measure)
void
setPoint(Point p)
void
setPos(int pos)
void
setRank(int rank)
String
toString()
-
-
-
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:
getMeasure
in interfaceLV<V>
-
setMeasure
public void setMeasure(double measure)
- Specified by:
setMeasure
in interfaceLV<V>
-
-