public class FixNodeLayoutData extends LayoutData
FixNodeLayoutStage
.Constructor and Description |
---|
FixNodeLayoutData() |
Modifier and Type | Method and Description |
---|---|
void |
apply(LayoutGraphAdapter adapter,
ILayoutAlgorithm layout,
CopiedLayoutGraph layoutGraph)
Applies this layout data to the specified
layoutGraphAdapter . |
SingleItemCollection<INode> |
getFixedNode()
Gets the collection of nodes which should be considered fixed.
|
void |
setFixedNode(SingleItemCollection<INode> value)
Sets the collection of nodes which should be considered fixed.
|
public void apply(LayoutGraphAdapter adapter, ILayoutAlgorithm layout, CopiedLayoutGraph layoutGraph)
LayoutData
layoutGraphAdapter
.apply
in class LayoutData
adapter
- The adapter to add the layout data to.layout
- The layout that shall use this layout data.layoutGraph
- The layout graph used for the layout calculation.public final SingleItemCollection<INode> getFixedNode()
FixNodeLayoutStage.FIXED_NODE_DPKEY
,
setFixedNode(SingleItemCollection)
public final void setFixedNode(SingleItemCollection<INode> value)
value
- The FixedNode to set.FixNodeLayoutStage.FIXED_NODE_DPKEY
,
getFixedNode()