// The edge's curve control points (model coords): one for a bundled bezier, two for a self-loop, the control list for an unbundled bezier, undefined otherwise (segments/taxi answer segmentPoints() instead)
ele.controlPoints(): Position[] | undefinedThe edge's curve control points (model coords): one for a bundled bezier, two for a self-loop, the control list for an unbundled bezier, undefined otherwise (segments/taxi answer segmentPoints() instead).
Returns
Position[] | undefinedthe control points in model space, or undefined when the edge has none — which covers straight edges, segments/taxi routes, and a straight edge carrying manual endpoints (the 12c n = 0 chord)
Example
// Straight edges have no intermediate control points.console.log(cy.getElementById('ab').controlPoints()); // undefined