Skip to content

@vue-flow/monorepoDocs


Function: useNodeId()

useNodeId(): string

This composable returns the current node id from the ctx.

It should be used inside a (custom-)node components ctx as the id is provided by the internal NodeWrapper component.

Returns

string

the current node id

VueFlow v1.42 中文网 - 粤ICP备13048890号