Links between nodes in NetDiagram 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 and their locations are specified by the segmentCount and controlPoints properties. If changing the coordinates of individual points in controlPoints, you should also call the updateFromPoints method to update link's internal state.