Class: GlobalVueFlowStorage ​
Stores all currently created store instances
Table of contents ​
Constructors ​
Properties ​
Methods ​
Constructors ​
constructor ​
• new GlobalVueFlowStorage(): GlobalVueFlowStorage
Returns ​
Properties ​
currentId ​
• currentId: number
= 0
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 ​
â–¸ getInstance(): GlobalVueFlowStorage