Adds the specified node to the already arranged diagram.
Namespace: MindFusion.Diagramming.Wpf.Layout
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public bool AddNode ( |
Visual Basic Copy Code |
---|
Public Function AddNode( _ |
true if the node has been added successfully; otherwise, false.
You can use AddNode to implement incremental layout of a diagram, for example, by adding new nodes drawn by the user or added by a context menu command. For this method to work correctly, RecreateGraph must be disabled.