Package org.eclipse.zest.layouts
Interface LayoutGraph
Deprecated, for removal: This API element is subject to removal in a future version.
No longer used in Zest 2.x. This interface will be removed in a
future release.
The LayoutGraph interface defines the methods used to add nodes and edges
(relationships).
- @noextend
- This interface is not intended to be extended by clients.
- @noimplement
- This interface is not intended to be implemented by clients.
- @noreference
- This interface is not intended to be referenced by clients.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addEntity
(LayoutEntity node) Deprecated, for removal: This API element is subject to removal in a future version.Adds a node to this graph.void
addRelationship
(LayoutRelationship relationship) Deprecated, for removal: This API element is subject to removal in a future version.Adds the given relationship.Deprecated, for removal: This API element is subject to removal in a future version.Returns a list of LayoutEntity objects that represent the objects added to this graph using addNode.Deprecated, for removal: This API element is subject to removal in a future version.Returns a list of LayoutRelationship objects that represent the objects added to this graph using addRelationship.boolean
Deprecated, for removal: This API element is subject to removal in a future version.Determines if the graph is bidirectional.
-
Method Details
-
addEntity
Deprecated, for removal: This API element is subject to removal in a future version.Adds a node to this graph.- Parameters:
node
- The new node.
-
addRelationship
Deprecated, for removal: This API element is subject to removal in a future version.Adds the given relationship.- Parameters:
relationship
-
-
getEntities
List getEntities()Deprecated, for removal: This API element is subject to removal in a future version.Returns a list of LayoutEntity objects that represent the objects added to this graph using addNode.- Returns:
- List A List of LayoutEntity objects.
-
getRelationships
List getRelationships()Deprecated, for removal: This API element is subject to removal in a future version.Returns a list of LayoutRelationship objects that represent the objects added to this graph using addRelationship.- Returns:
- List A List of LayoutRelationship objects.
-
isBidirectional
boolean isBidirectional()Deprecated, for removal: This API element is subject to removal in a future version.Determines if the graph is bidirectional.- Returns:
- boolean If the graph is bidirectional.
-