// The edge's segment points (model coords): defined for segments and taxi edges (taxi derives its points), undefined otherwise
ele.segmentPoints(): Position[] | undefinedThe edge's segment points (model coords): defined for segments and taxi edges (taxi derives its points), undefined otherwise.
Returns
Position[] | undefinedthe interior route points in model space — derived ones for taxi, which computes rather than declares them — or undefined for every other family
Example
// Straight edges have no intermediate segment points.console.log(cy.getElementById('ab').segmentPoints()); // undefined