Skip to content
On this page

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

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.