elementSet.connections
The set naming graph connections, each written from.port->to.port.
Usage
ElementSet.connections(ids: readonly string[], at?: Omit<Scope, 'node'>): ElementSetParameters
idsreadonly string[]Connections as
from.port->to.portstrings.atOmit<Scope, 'node'>The revision the graph elements belong to; omit for the current graph. Default
{}.
Returns
{...at, kind: 'connection', connections: ids }; an empty list names nothing.
Example
ElementSet.connections(['box1.out->xform2.in']).kind // → 'connection'