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.
Namespace:
Mindscape.WpfDiagramming.FoundationAssembly: Mindscape.WpfDiagramming.Foundation (in Mindscape.WpfDiagramming.Foundation.dll)
Version: 2.0.0.0 (2.0.0.0)
Syntax
C# |
---|
public void SetSelectedNode( IDiagramModel model, IDiagramNode node ) |
Visual Basic (Declaration) |
---|
Public Sub SetSelectedNode ( _ model As IDiagramModel, _ node As IDiagramNode _ ) |
Parameters
- model
- Type: Mindscape.WpfDiagramming.Foundation..::.IDiagramModel
The diagram for which the selected node is being set.
- node
- Type: Mindscape.WpfDiagramming.Foundation..::.IDiagramNode
The selected node in the diagram identified by model.