This class represents a connection between an edge and a node in a graph. It decouples the DiagramLink class from the DiagramNode class, allowing edges to connect different types of nodes without knowing anything of their implementation details. Each DiagramLink object contains two ConnectionPoint instances describing the connections at both ends of the link.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C# Copy Code |
---|
public class ConnectionPoint |
Visual Basic Copy Code |
---|
Public Class ConnectionPoint |
If custom nodes should store additional information about their connections, inherit the ConnectionPoint class, add the necessary members and return an instance of this class from the CreateConnectionPoint override. For example, TreeViewNode uses TreeViewConnectionPoint objects to store reference to the item associated with the connection.
System.Object
MindFusion.Diagramming.ConnectionPoint
MindFusion.Diagramming.TreeViewConnectionPoint
MindFusion.Diagramming Developer's Guide | © 2024 MindFusion |