Inserts the specified node between two nodes connected by the by specified link.
Namespace: MindFusion.Diagramming.Layout
Assembly: MindFusion.Diagramming
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 through a context menu command. For this method to work correctly, RecreateGraph must be disabled.