Skip to content

@vue-flow/monorepo • Docs


Function: useNodeConnections() ​

useNodeConnections(params): ComputedRef<HandleConnection[]>

Composable that returns existing connections of a node by handle type. This is useful when you want to get all connections of a node by a specific handle type.

Parameters ​

• params: UseNodeConnectionsParams

Returns ​

ComputedRef<HandleConnection[]>

An array of connections

Released under the MIT License.