Skip to main content

getDescendantEdges

getDescendantEdges(g, thisGroupOnly?, includePorts?, filter?): Edge[]

Gets edges connected to descendants of the given group.

Parameters

g

Group

Group to retrieve descendant edges for

thisGroupOnly?

boolean

If true, the code only retrieves edges connected to vertices that are a direct child of this group. Otherwise, the code descends through all child groups.

includePorts?

boolean

If true, the code will retrieve edges connected to the ports of any child vertex that is encountered as well as edges connected to the child vertex itself.

filter?

(e) => boolean

Optional filter to use to exclude edges

Returns

Edge[]

Graph Query