org.cesta.parsers.dot
Class DotTree.Graph
java.lang.Object
org.cesta.parsers.dot.DotTree.Graph
- Direct Known Subclasses:
- DotTree.SubGraph
- Enclosing class:
- DotTree
public class DotTree.Graph
- extends java.lang.Object
Model of graph. Has own attributes and special graph, edge or node attributes,
nodes (even from subgraphs), edges, subgraphs etc.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
attributes
public java.util.Map<java.lang.String,java.lang.String> attributes
graphAttributes
public java.util.Map<java.lang.String,java.lang.String> graphAttributes
edgeAttributes
public java.util.Map<java.lang.String,java.lang.String> edgeAttributes
nodeAttributes
public java.util.Map<java.lang.String,java.lang.String> nodeAttributes
nodes
public java.util.Map<java.lang.String,DotTree.Node> nodes
edges
public java.util.List<DotTree.Edge> edges
subGraphsMap
public java.util.Map<java.lang.String,DotTree.SubGraph> subGraphsMap
subGraphs
public java.util.Set<DotTree.SubGraph> subGraphs
isStrict
public boolean isStrict
isDirected
public boolean isDirected
id
public java.lang.String id
DotTree.Graph
public DotTree.Graph()
DotTree.Graph
public DotTree.Graph(java.lang.String id)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getNodes
public java.util.Set<DotTree.Node> getNodes()
getTransitionMap
public java.util.Map<DotTree.Node,java.util.List<DotTree.Node>> getTransitionMap()
getNodePairs
public java.util.List<DotTree.NodePair> getNodePairs()
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object