Gets a collection of all DiagramNode objects in the diagram.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C# Copy Code |
---|
public DiagramNodeCollection Nodes { get; } |
Visual Basic Copy Code |
---|
Public ReadOnly Property Nodes As DiagramNodeCollection |
An instance of the DiagramNodeCollection class.
Nodes provides type-safe access to all nodes in the current diagram. Any diagram element can be accessed also by using the Items collection.
The following code adds a new ShapeNode to the diagram:
C# Copy Code |
---|
var node = new ShapeNode(diagram); |
MindFusion.Diagramming Developer's Guide | © 2024 MindFusion |