edges.between
between(sourceId: string, targetId: string): EdgeData[]Return all edges that run from sourceId to targetId (directed).
Not undoable (read-only). Does not emit any event.
sourceId | string | Id of the source node. |
targetId | string | Id of the target node. |
Returns: EdgeData[]
Example
const edges = api.edges.between("s1", "s2");