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()EdgegetEdgeByKey(String edgeKey)Map<? extends EdgeRef,? extends Status>getEdgeStatus()LayoutgetLayout()VertexgetVertexByKey(String vertexKey)Map<? extends VertexRef,? extends Status>getVertexStatus()voidsetLayout(Layout layout)voidvisit(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
-
-