org.cesta.parsers.dot
Class DotTree.Graph

java.lang.Object
  extended by 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.


Field Summary
 java.util.Map<java.lang.String,java.lang.String> attributes
           
 java.util.Map<java.lang.String,java.lang.String> edgeAttributes
           
 java.util.List<DotTree.Edge> edges
           
 java.util.Map<java.lang.String,java.lang.String> graphAttributes
           
 java.lang.String id
           
 boolean isDirected
           
 boolean isStrict
           
 java.util.Map<java.lang.String,java.lang.String> nodeAttributes
           
 java.util.Map<java.lang.String,DotTree.Node> nodes
           
 java.util.Set<DotTree.SubGraph> subGraphs
           
 java.util.Map<java.lang.String,DotTree.SubGraph> subGraphsMap
           
 
Constructor Summary
DotTree.Graph()
           
DotTree.Graph(java.lang.String id)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.List<DotTree.NodePair> getNodePairs()
           
 java.util.Set<DotTree.Node> getNodes()
           
 java.util.Map<DotTree.Node,java.util.List<DotTree.Node>> getTransitionMap()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

DotTree.Graph

public DotTree.Graph()

DotTree.Graph

public DotTree.Graph(java.lang.String id)
Method Detail

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