Skip to content

Function: useVueFlow ​

â–¸ 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 ​

NameType
id?string

Returns ​

VueFlowStore

a vue flow store instance

â–¸ useVueFlow(options?): VueFlowStore

Parameters ​

NameType
options?FlowProps

Returns ​

VueFlowStore

Released under the MIT License.