VertexType - the type of the vertices of the graphEdgeType - the type of the vertices of the graphpublic class ConnectingEdgeVisualData<VertexType,EdgeType> extends EdgeVisualData<VertexType,EdgeType>
direction, endPosition, originalEdge, startPosition| Constructor and Description |
|---|
ConnectingEdgeVisualData(EdgeType originalEdge,
StdLayout.VisVertex startVertex,
StdLayout.VisVertex endVertex)
Creates an instance
|
| Modifier and Type | Method and Description |
|---|---|
Position2D |
getEndLinePosition()
Returns the end position of the edge stroke.
|
StdLayout.VisVertex |
getEndVertex() |
Position2D |
getStartLinePosition()
Returns the start position of the edge stroke.
|
StdLayout.VisVertex |
getStartVertex() |
void |
update(GraphLibrary<VertexType,EdgeType> graph) |
void |
updateDirection() |
getDirection, getEdge, getEndPosition, getEndVertex, getStartPositionpublic ConnectingEdgeVisualData(EdgeType originalEdge, StdLayout.VisVertex startVertex, StdLayout.VisVertex endVertex)
originalEdge - the edge to visualizestartVertex - the start vertex of the edgeendVertex - the end vertex of the edgepublic StdLayout.VisVertex getStartVertex()
getStartVertex in class EdgeVisualData<VertexType,EdgeType>public StdLayout.VisVertex getEndVertex()
getEndVertex in class EdgeVisualData<VertexType,EdgeType>public void updateDirection()
updateDirection in class EdgeVisualData<VertexType,EdgeType>public void update(GraphLibrary<VertexType,EdgeType> graph)
update in class EdgeVisualData<VertexType,EdgeType>public Position2D getEndLinePosition()
EdgeArealDatapublic Position2D getStartLinePosition()
EdgeArealData