Represents a link between two diagram nodes.
Namespace: MindFusion.Diagramming
Package: DiagramLink.js
JavaScript Copy Code |
---|
// class |
Links between nodes in MindFusion.Diagramming for WebForms are represented by instances of the diagramLink class. Links connect at most two nodes, which can be accessed via the Origin and Destination properties.
Links are built of smaller parts called segments, which can be straight lines, cascading orthogonal lines or Bezier curves. The type of segments is set through the Shape property. The number of link's segments is specified by the setControlPoints method. Access to control point locations is provided by the getControlPoints method.