Inserts the specified node between two nodes connected by the specified link.
Namespace: MindFusion.Diagramming.Wpf.Layout
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public bool InsertNode ( |
Visual Basic Copy Code |
---|
Public Function InsertNode( _ |
true if the node has been added successfully; otherwise, false.
You can use InsertNode 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.