public class Diagram extends Object
Modifier and Type | Method and Description |
---|---|
void |
addConnecton(DiagramConnection connecton)
Adds a connection to this diagram.
|
void |
addNode(DiagramNode node)
Adds a node to this diagram.
|
List<DiagramConnection> |
getConnections()
Gets a list of connections in this diagram.
|
String |
getDiagramUri()
Gets the diagram identifier.
|
List<DiagramNode> |
getNodes()
Gets a list of nodes in this diagram.
|
String |
toString() |
public Diagram(String diagramUri)
diagramUri
- public String getDiagramUri()
public List<DiagramNode> getNodes()
public List<DiagramConnection> getConnections()
public void addNode(DiagramNode node)
node
- a node to be addedpublic void addConnecton(DiagramConnection connecton)
connecton
- a connection to be addedCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.