Interface Graph
-
- All Known Implementing Classes:
DefaultGraph
public interface Graph
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<Edge>getDisplayEdges()java.util.Collection<Vertex>getDisplayVertices()EdgegetEdgeByKey(java.lang.String edgeKey)java.util.Map<? extends EdgeRef,? extends Status>getEdgeStatus()LayoutgetLayout()VertexgetVertexByKey(java.lang.String vertexKey)java.util.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
java.util.Collection<Vertex> getDisplayVertices()
-
getDisplayEdges
java.util.Collection<Edge> getDisplayEdges()
-
getEdgeByKey
Edge getEdgeByKey(java.lang.String edgeKey)
-
getVertexByKey
Vertex getVertexByKey(java.lang.String vertexKey)
-
visit
void visit(GraphVisitor visitor) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-