Skip to content

getDanglingEndpoints

since v1.4.0

getDanglingEndpoints(edges): DanglingEndpoint[]

Collects the free endpoints of the given edges. A dual dangling edge gives two entries. Endpoints without an anchor position are skipped, because they cannot be rendered or snapped to. Temporary and effectively hidden edges are skipped as well.

readonly Edge<object>[]

The edges to scan.

DanglingEndpoint[]

The free endpoints with their edge, end and anchor position.