public interface LayoutGraph
Modifier and Type | Method and Description |
---|---|
void |
addEntity(LayoutEntity node)
Adds a node to this graph.
|
void |
addRelationship(LayoutRelationship relationship)
Adds the given relationship.
|
java.util.List |
getEntities()
Returns a list of LayoutEntity objects that represent the objects added to this graph using addNode.
|
java.util.List |
getRelationships()
Returns a list of LayoutRelationship objects that represent the objects added to this graph using addRelationship.
|
boolean |
isBidirectional()
Determines if the graph is bidirectional.
|
void addEntity(LayoutEntity node)
node
- The new node.void addRelationship(LayoutRelationship relationship)
relationship
- java.util.List getEntities()
java.util.List getRelationships()
boolean isBidirectional()
Copyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.