Class: Callbacks
Constructors
constructor
• new Callbacks(rootStore
)
Parameters
Name | Type |
---|---|
rootStore | RootStore |
Methods
drag
▸ drag(info
): void
Parameters
Name | Type |
---|---|
info | OnDrag |
Returns
void
dragEnded
▸ dragEnded(info
): void
Parameters
Name | Type |
---|---|
info | OnDragEnded |
Returns
void
dragStarted
▸ dragStarted(info
): void
Parameters
Name | Type |
---|---|
info | OnDragStarted |
Returns
void
export
▸ export(): ICallbacks
Returns
import
▸ import(callbacks?
): void
Parameters
Name | Type |
---|---|
callbacks? | ICallbacks |
Returns
void
importedStateRendered
▸ importedStateRendered(): void
Returns
void
linkValidation
▸ linkValidation(info
): boolean
Parameters
Name | Type |
---|---|
info | OnLinkValidation |
Returns
boolean
linkingEnded
▸ linkingEnded(info
): void
Parameters
Name | Type |
---|---|
info | OnLinkingEnded |
Returns
void
linkingStarted
▸ linkingStarted(info
): void
Parameters
Name | Type |
---|---|
info | OnLinkingStarted |
Returns
void
linksAdded
▸ linksAdded(info
): void
Parameters
Name | Type |
---|---|
info | OnLinksAddResult |
Returns
void
linksRemoved
▸ linksRemoved(info
): void
Parameters
Name | Type |
---|---|
info | OnLinksRemoveResult |
Returns
void
nodeDataChanged
▸ nodeDataChanged(node
, change
): void
Parameters
Name | Type |
---|---|
node | NodeState |
change | PropertyChange <any > |
Returns
void
nodeIsDragEnabledChanged
▸ nodeIsDragEnabledChanged(node
, change
): void
Parameters
Name | Type |
---|---|
node | NodeState |
change | PropertyChange <undefined | boolean > |
Returns
void
nodeIsSelectionEnabledChanged
▸ nodeIsSelectionEnabledChanged(node
, change
): void
Parameters
Name | Type |
---|---|
node | NodeState |
change | PropertyChange <undefined | boolean > |
Returns
void
nodeLabelChanged
▸ nodeLabelChanged(node
, change
): void
Parameters
Name | Type |
---|---|
node | NodeState |
change | PropertyChange <undefined | string > |
Returns
void
nodePositionChanged
▸ nodePositionChanged(node
, change
): void
Parameters
Name | Type |
---|---|
node | NodeState |
change | PropertyChange <Point > |
Returns
void
nodeTypeChanged
▸ nodeTypeChanged(node
, change
): void
Parameters
Name | Type |
---|---|
node | NodeState |
change | PropertyChange <undefined | string > |
Returns
void
nodesAdded
▸ nodesAdded(info
): void
Parameters
Name | Type |
---|---|
info | OnNodesAddResult |
Returns
void
nodesRemoved
▸ nodesRemoved(info
): void
Parameters
Name | Type |
---|---|
info | OnNodesRemoveResult |
Returns
void