Interface: Actions
Hierarchy
↳
Actions
Table of contents
Properties
- addEdges
- addNodes
- findEdge
- findNode
- fitBounds
- fitView
- getIntersectingNodes
- getTransform
- isNodeIntersecting
- project
- removeEdges
- removeNodes
- setCenter
- setEdges
- setElements
- setNodes
- setState
- setTransform
- updateEdge
- updateNodeDimensions
- updateNodeInternals
- updateNodePositions
- zoomIn
- zoomOut
- zoomTo
Methods
- $destroy
- $reset
- addSelectedEdges
- addSelectedElements
- addSelectedNodes
- applyEdgeChanges
- applyNodeChanges
- endConnection
- removeSelectedEdges
- removeSelectedElements
- removeSelectedNodes
- setInteractive
- setMaxZoom
- setMinZoom
- setNodeExtent
- setTranslateExtent
- startConnection
- toObject
- updateConnection
Properties
addEdges
• addEdges: AddEdges
addNodes
• addNodes: AddNodes
findEdge
• findEdge: FindEdge
findNode
• findNode: FindNode
fitBounds
• fitBounds: FitBounds
Inherited from
fitView
• fitView: FitView
Inherited from
getIntersectingNodes
• getIntersectingNodes: GetIntersectingNodes
getTransform
• getTransform: GetTransform
Inherited from
ViewportFunctions.getTransform
isNodeIntersecting
• isNodeIntersecting: IsNodeIntersecting
project
• project: Project
Inherited from
removeEdges
• removeEdges: RemoveEdges
removeNodes
• removeNodes: RemoveNodes
setCenter
• setCenter: SetCenter
Inherited from
setEdges
• setEdges: SetEdges
setElements
• setElements: SetElements
setNodes
• setNodes: SetNodes
setState
• setState: SetState
setTransform
• setTransform: SetTransform
Inherited from
ViewportFunctions.setTransform
updateEdge
• updateEdge: UpdateEdge
updateNodeDimensions
• updateNodeDimensions: UpdateNodeDimensions
updateNodeInternals
• updateNodeInternals: UpdateNodeInternals
updateNodePositions
• updateNodePositions: UpdateNodePosition
zoomIn
• zoomIn: ZoomInOut
Inherited from
zoomOut
• zoomOut: ZoomInOut
Inherited from
zoomTo
• zoomTo: ZoomTo
Inherited from
Methods
$destroy
â–¸ $destroy(): void
Returns
void
$reset
â–¸ $reset(): void
Returns
void
addSelectedEdges
â–¸ addSelectedEdges(edges
): void
Parameters
Name | Type |
---|---|
edges | GraphEdge <any , any >[] |
Returns
void
addSelectedElements
â–¸ addSelectedElements(elements
): void
Parameters
Name | Type |
---|---|
elements | FlowElements <any , any , any , any > |
Returns
void
addSelectedNodes
â–¸ addSelectedNodes(nodes
): void
Parameters
Name | Type |
---|---|
nodes | GraphNode <any , any >[] |
Returns
void
applyEdgeChanges
â–¸ applyEdgeChanges(changes
): GraphEdge
<any
, any
>[]
Parameters
Name | Type |
---|---|
changes | EdgeChange [] |
Returns
GraphEdge
<any
, any
>[]
applyNodeChanges
â–¸ applyNodeChanges(changes
): GraphNode
<any
, any
>[]
Parameters
Name | Type |
---|---|
changes | NodeChange [] |
Returns
GraphNode
<any
, any
>[]
endConnection
â–¸ endConnection(event?
, isClick?
): void
Parameters
Name | Type |
---|---|
event? | MouseEvent |
isClick? | boolean |
Returns
void
removeSelectedEdges
â–¸ removeSelectedEdges(edges
): void
Parameters
Name | Type |
---|---|
edges | GraphEdge <any , any >[] |
Returns
void
removeSelectedElements
â–¸ removeSelectedElements(elements?
): void
Parameters
Name | Type |
---|---|
elements? | Elements <any , any , any , any > |
Returns
void
removeSelectedNodes
â–¸ removeSelectedNodes(nodes
): void
Parameters
Name | Type |
---|---|
nodes | GraphNode <any , any >[] |
Returns
void
setInteractive
â–¸ setInteractive(isInteractive
): void
Parameters
Name | Type |
---|---|
isInteractive | boolean |
Returns
void
setMaxZoom
â–¸ setMaxZoom(zoom
): void
Parameters
Name | Type |
---|---|
zoom | number |
Returns
void
setMinZoom
â–¸ setMinZoom(zoom
): void
Parameters
Name | Type |
---|---|
zoom | number |
Returns
void
setNodeExtent
â–¸ setNodeExtent(nodeExtent
): void
Parameters
Name | Type |
---|---|
nodeExtent | CoordinateExtent |
Returns
void
setTranslateExtent
â–¸ setTranslateExtent(translateExtent
): void
Parameters
Name | Type |
---|---|
translateExtent | CoordinateExtent |
Returns
void
startConnection
â–¸ startConnection(startHandle
, position?
, event?
, isClick?
): void
Parameters
Name | Type |
---|---|
startHandle | StartHandle |
position? | XYPosition |
event? | MouseEvent |
isClick? | boolean |
Returns
void
toObject
â–¸ toObject(): FlowExportObject
Returns
updateConnection
â–¸ updateConnection(position
): void
Parameters
Name | Type |
---|---|
position | XYPosition |
Returns
void