Search
ConnectionPoint Class
Remarks See Also
 





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
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public class ConnectionPoint : IPersists

Visual Basic  Copy Code

Public Class ConnectionPoint
    Implements IPersists

 Remarks

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.

 Inheritance Hierarchy

System.Object
    MindFusion.Diagramming.ConnectionPoint
        MindFusion.Diagramming.TreeViewConnectionPoint
        MindFusion.Diagramming.TableConnectionPoint
        MindFusion.Diagramming.TreeViewConnectionPoint

 See Also