Interface Graph
-
- All Known Implementing Classes:
DefaultGraph
public interface Graph
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<Edge>
getDisplayEdges()
Collection<Vertex>
getDisplayVertices()
Edge
getEdgeByKey(String edgeKey)
Map<? extends EdgeRef,? extends Status>
getEdgeStatus()
Layout
getLayout()
Vertex
getVertexByKey(String vertexKey)
Map<? extends VertexRef,? extends Status>
getVertexStatus()
void
setLayout(Layout layout)
void
visit(GraphVisitor visitor)
-
-
-
Method Detail
-
getLayout
Layout getLayout()
- Returns:
- The layout which defines x and y positions of the graphs vertices.
-
setLayout
void setLayout(Layout layout)
-
getDisplayVertices
Collection<Vertex> getDisplayVertices()
-
getDisplayEdges
Collection<Edge> getDisplayEdges()
-
visit
void visit(GraphVisitor visitor) throws Exception
- Throws:
Exception
-
-