Gets a Factory instance that lets you add programmatically new items to the diagram.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C# Copy Code |
---|
public Factory Factory { get; } |
Visual Basic Copy Code |
---|
Public ReadOnly Property Factory As Factory |
An instance of the Factory class.
You can add a new node or link to the diagram by creating an instance of the item class by using the new operator and adding it to the Nodes or Links collection. This works the same way for adding both items from your custom class or ones from the MindFusion.Diagramming for .NET MAUI predefined types. The Factory class methods are just shortcuts that let you do that with a single method call, and they work only for the predefined item classes.
Diagramming for .NET MAUI Guide | © 2024 MindFusion |