public interface INodeLayout extends IEntityLayout
INodeLayout
represents a node of a graph within the layout model.Modifier and Type | Method and Description |
---|---|
IConnectionLayout[] |
getIncomingConnections()
Returns all connections that have this node as a target.
|
IConnectionLayout[] |
getOutgoingConnections()
Returns all connections that have this node as a source.
|
INodeLayout[] |
getPredecessingNodes()
Returns all nodes that are direct predecessors of this node.
|
ISubgraphLayout |
getSubgraph() |
INodeLayout[] |
getSuccessingNodes()
Returns all nodes that are direct successors of this node.
|
void |
prune(ISubgraphLayout subgraph)
Assigns this NodeLayout to the given SubgraphLayout.
|
getItems, getPredecessingEntities, getSuccessingEntities
ISubgraphLayout getSubgraph()
void prune(ISubgraphLayout subgraph)
subgraph
- a subgraph this node should belong to or null if this node
should not be prunedINodeLayout[] getSuccessingNodes()
INodeLayout[] getPredecessingNodes()
IConnectionLayout[] getIncomingConnections()
IConnectionLayout[] getOutgoingConnections()
Copyright (c) 2014 itemis AG and others. All rights reserved.