Interface Graph

  • All Known Implementing Classes:
    DefaultGraph

    public interface Graph
    • 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)
      • getVertexStatus

        java.util.Map<? extends VertexRef,​? extends Status> getVertexStatus()
      • getEdgeStatus

        java.util.Map<? extends EdgeRef,​? extends Status> getEdgeStatus()
      • visit

        void visit​(GraphVisitor visitor)
            throws java.lang.Exception
        Throws:
        java.lang.Exception