Class GraphRepresentation


  • public final class GraphRepresentation
    extends java.lang.Object
    • Method Detail

      • getInstance

        public static GraphRepresentation getInstance​(boolean showStart,
                                                      boolean showEnd)
      • addVertex

        public boolean addVertex​(Vertex vertex)
      • addEdge

        public boolean addEdge​(Edge edge)
      • getVertexes

        public java.util.Set<Vertex> getVertexes()
      • getEdges

        public java.util.Set<Edge> getEdges()
      • isShowStart

        public boolean isShowStart()
      • isShowEnd

        public boolean isShowEnd()
      • getVertex

        public Vertex getVertex​(java.lang.String id)
      • getEdgeStyle

        public EdgeStyle getEdgeStyle()
      • setEdgeStyle

        public void setEdgeStyle​(EdgeStyle edgeStyle)