UNPKG

graph-builder

Version:

A graph builder library for modeling abstract graph structures.

15 lines (9 loc) 543 B
[Home](./index) &gt; [graph-builder](./graph-builder.md) &gt; [EndpointPair](./graph-builder.endpointpair.md) &gt; [target](./graph-builder.endpointpair.target.md) # EndpointPair.target method If this [EndpointPair](./graph-builder.endpointpair.md) [EndpointPair.isOrdered](./graph-builder.endpointpair.isordered.md)<!-- -->, returns the node which is the target. Throws an error if this [EndpointPair](./graph-builder.endpointpair.md) is not ordered. **Signature:** ```javascript abstract target(): N; ``` **Returns:** `N`