MindFusion.Wpf Pack Programmer's Guide
FlowLayout.RemoveNode Method
See Also
 





Removes the specified node from an existing diagram.

Namespace: MindFusion.Diagramming.Wpf.Layout
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public bool RemoveNode (
    DiagramNode node,
    Diagram diagram
)

Visual Basic  Copy Code

Public Function RemoveNode( _
    node As DiagramNode, _
    diagram As Diagram _
) As Boolean

 Parameters

node
The DiagramNode to remove.
diagram
An already arranged Diagram.

 Return Value

true if the node has been removed successfully; otherwise, false.

 Remarks

You can use RemoveNode to implement incremental layout of a diagram, for example, by removing nodes deleted by the user or removed by a context menu command. For this method to work correctly, RecreateGraph must be disabled.

 See Also

FlowLayout Members
FlowLayout Class
MindFusion.Diagramming.Wpf.Layout Namespace