The ForceBasedLayoutAlgorithm type exposes the following members.
Methods
Name | Description | |
---|---|---|
GetStartNodes |
Returns a list of 'start nodes' based on the number of inbound connections on each node.
(Inherited from LayoutAlgorithmBase.) | |
IsIncluded |
Returns whether or not the given IDiagramNode should be affected by this layout algorithm.
(Inherited from LayoutAlgorithmBase.) | |
Run |
Runs this force based layout algorithm.
(Overrides LayoutAlgorithmBase..::.Run(IDiagramModel).) | |
SetSelectedNode |
Notifies the ForceBasedLayoutAlgorithm of the node which is currently selected in the diagram.
This should be set before calling the Run(IDiagramModel) method so that the algorithm
doesn't affect the node that the user may be dragging.
|