Interface LV<V>
-
- Type Parameters:
V-
- All Superinterfaces:
SV<V>
- All Known Implementing Classes:
LVI,SyntheticLV,SyntheticLV
public interface LV<V> extends SV<V>
Interface for a vertex type for the SugiyamaLayoutAlgorithm.
Implementations of LVreplace instances of V during layout The LV<V> holds metadata information about the position of the vertex in the layered graph for the SugiyamaLayoutAlgorithm
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends LV<V>>
Tcopy()intgetIndex()doublegetMeasure()PointgetPoint()intgetPos()intgetRank()static <V> LV<V>of(V vertex)static <V> LV<V>of(V vertex, int rank, int index)voidsetIndex(int index)voidsetMeasure(double measure)voidsetPoint(Point p)voidsetPos(int pos)voidsetRank(int rank)
-
-
-
Method Detail
-
of
static <V> LV<V> of(V vertex)
-
of
static <V> LV<V> of(V vertex, int rank, int index)
-
setRank
void setRank(int rank)
-
getRank
int getRank()
-
setIndex
void setIndex(int index)
-
getIndex
int getIndex()
-
getPoint
Point getPoint()
-
setPoint
void setPoint(Point p)
-
getPos
int getPos()
-
setPos
void setPos(int pos)
-
getMeasure
double getMeasure()
-
setMeasure
void setMeasure(double measure)
-
-