getDanglingEndpoints
since v1.4.0getDanglingEndpoints(
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.
Parameters
Section titled “Parameters”readonly Edge<object>[]
The edges to scan.
Returns
Section titled “Returns”The free endpoints with their edge, end and anchor position.