Search
FlowLayout.RemoveNode Method
See Also
 





Removes the specified node from an existing diagram.

Namespace: MindFusion.Diagramming.Layout
Package: MindFusion.Diagramming

 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 via a context menu command. For this method to work correctly, RecreateGraph must be disabled.

 See Also