Skip to content

Class: GlobalVueFlowStorage ​

Stores all currently created store instances

Table of contents ​

Constructors ​

Properties ​

Methods ​

Constructors ​

constructor ​

• new GlobalVueFlowStorage()

Properties ​

currentId ​

• currentId: number = 0


flows ​

• flows: Map<string, VueFlowStore>


instance ​

â–ª Static instance: GlobalVueFlowStorage

Methods ​

create ​

â–¸ create(id, preloadedState?): VueFlowStore

Parameters ​

NameType
idstring
preloadedState?FlowProps

Returns ​

VueFlowStore


get ​

â–¸ get(id): undefined | VueFlowStore

Parameters ​

NameType
idstring

Returns ​

undefined | VueFlowStore


getId ​

â–¸ getId(): string

Returns ​

string


remove ​

â–¸ remove(id): boolean

Parameters ​

NameType
idstring

Returns ​

boolean


set ​

â–¸ set(id, flow): Map<string, VueFlowStore>

Parameters ​

NameType
idstring
flowVueFlowStore

Returns ​

Map<string, VueFlowStore>


getInstance ​

â–¸ Static getInstance(): GlobalVueFlowStorage

Returns ​

GlobalVueFlowStorage

Released under the MIT License.