Skip to content

@vue-flow/monorepoDocs


Function: useVueFlow()

useVueFlow(id)

useVueFlow(id?): VueFlowStore

Composable that provides access to a store instance

If no id is provided, the store instance is injected from context

If no store instance is found in context, a new store instance is created and registered in storage

Parameters

id?: string

Returns

VueFlowStore

a vue flow store instance

useVueFlow(options)

useVueFlow(options?): VueFlowStore

Parameters

options?: FlowProps

Returns

VueFlowStore

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