Skip to main content

getUpstreamVertices

getUpstreamVertices(obj, vertexOnly?): Vertex[]

Gets the list of vertices that are the sources of edges connected to this vertex as a target.

Parameters

obj

Vertex

The vertex to get upstream vertices for.

vertexOnly?

boolean

If obj is a Node or Group, this method will automatically include vertices connected to ports on the node/group. Set this to true to suppress that behaviour.

Returns

Vertex[]

Graph

Graph Query