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()
int
getIndex()
double
getMeasure()
Point
getPoint()
int
getPos()
int
getRank()
static <V> LV<V>
of(V vertex)
static <V> LV<V>
of(V vertex, int rank, int index)
void
setIndex(int index)
void
setMeasure(double measure)
void
setPoint(Point p)
void
setPos(int pos)
void
setRank(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)
-
-