Class: RootStore
Constructors
constructor
• new RootStore(settings?
, state?
)
Parameters
Name | Type |
---|---|
settings? | ISettings |
state? | IDiagramInitState |
Accessors
callbacks
• get
callbacks(): Callbacks
Returns
commandExecutor
• get
commandExecutor(): CommandExecutor
Returns
diagramSettings
• get
diagramSettings(): DiagramSettings
Returns
diagramState
• get
diagramState(): DiagramState
Returns
dragState
• get
dragState(): DragState
Returns
linksSettings
• get
linksSettings(): LinksSettings
Returns
linksStore
• get
linksStore(): LinksStore
Returns
nodesSettings
• get
nodesSettings(): NodesSettings
Returns
nodesStore
• get
nodesStore(): NodesStore
Returns
portsSettings
• get
portsSettings(): PortsSettings
Returns
selectionState
• get
selectionState(): SelectionState
Returns
Methods
export
▸ export(): Object
Returns
Object
Name | Type |
---|---|
links | ILinkState [] |
nodes | INodeExport [] |
importSettings
▸ importSettings(settings?
): void
Parameters
Name | Type |
---|---|
settings? | ISettings |
Returns
void
importState
▸ importState(nodes?
, links?
): void
Parameters
Name | Type |
---|---|
nodes? | INodeState [] |
links? | ILinkState [] |
Returns
void