Skip to main content

getConnectedVertices

getConnectedVertices(obj, vertexOnly?): Vertex[]

Gets the list of vertices that are attached to this vertex via an edge, either upstream or downstream.

Parameters

obj

Vertex

The vertex to get connected 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