org.cesta.parsers.dot
Class DotTree.Edge
java.lang.Object
org.cesta.parsers.dot.DotTree.Edge
- Enclosing class:
- DotTree
public class DotTree.Edge
- extends java.lang.Object
Edge, which has attributes and goes through multiple objects (Nodes or SubGraphs)
Field Summary |
java.util.Map<java.lang.String,java.lang.String> |
attributes
|
java.util.List<java.lang.Object> |
nodes
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
attributes
public java.util.Map<java.lang.String,java.lang.String> attributes
nodes
public java.util.List<java.lang.Object> nodes
DotTree.Edge
public DotTree.Edge()
getEdgeNodes
public java.util.List<java.util.Set<DotTree.Node>> getEdgeNodes()
- Returns list of set of nodes, though which the edge goes.
getNodePairs
public java.util.List<DotTree.NodePair> getNodePairs()
- Returns list of node pairs (simple edges). It splits full edge to
smaller parts.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object