Class: GlobalVueFlowStorage
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new GlobalVueFlowStorage()
Properties
currentId
• currentId: number
flows
• flows: Map
<string
, VueFlowStore
>
instance
â–ª Static
instance: GlobalVueFlowStorage
Methods
create
â–¸ create(id
, preloadedState?
): VueFlowStore
Parameters
Name | Type |
---|---|
id | string |
preloadedState? | FlowProps |
Returns
get
â–¸ get(id
): undefined
| VueFlowStore
Parameters
Name | Type |
---|---|
id | string |
Returns
undefined
| VueFlowStore
getId
â–¸ getId(): string
Returns
string
remove
â–¸ remove(id
): boolean
Parameters
Name | Type |
---|---|
id | string |
Returns
boolean
set
â–¸ set(id
, flow
): Map
<string
, VueFlowStore
>
Parameters
Name | Type |
---|---|
id | string |
flow | VueFlowStore |
Returns
Map
<string
, VueFlowStore
>
getInstance
â–¸ Static
getInstance(): GlobalVueFlowStorage