public class Graph
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.List<Link> |
links |
java.util.List<Node> |
nodes |
java.util.Map<java.lang.String,java.lang.String> |
properties |
Modifier and Type | Method and Description |
---|---|
java.util.List<Link> |
getLinks() |
java.util.List<Node> |
getNodes() |
java.util.Map<java.lang.String,java.lang.String> |
getProperties() |
java.lang.String |
toDSLText()
Produce the DSL representation of the graph.
|
java.lang.String |
toJSON() |
java.lang.String |
toString() |
public java.util.List<Node> nodes
public java.util.List<Link> links
public java.util.Map<java.lang.String,java.lang.String> properties
public java.util.List<Node> getNodes()
public java.util.List<Link> getLinks()
public java.util.Map<java.lang.String,java.lang.String> getProperties()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toJSON()
public java.lang.String toDSLText()