Skip to content
On this page

Interface: Getters

Table of contents

Properties

Methods

Properties

getEdgeTypes

• getEdgeTypes: Record<string, EdgeComponent>


getEdges

• getEdges: GraphEdge<any, any>[]


getElements

• getElements: FlowElements<any>


getNodeTypes

• getNodeTypes: Record<string, NodeComponent>


getNodes

• getNodes: GraphNode<any, any>[]


getSelectedEdges

• getSelectedEdges: GraphEdge<any, any>[]


getSelectedElements

• getSelectedElements: FlowElements<any>


getSelectedNodes

• getSelectedNodes: GraphNode<any, any>[]

Methods

getEdge

â–¸ getEdge(id): undefined | GraphEdge<any, any>

Parameters

NameType
idstring

Returns

undefined | GraphEdge<any, any>


getNode

â–¸ getNode(id): undefined | GraphNode<any, any>

Parameters

NameType
idstring

Returns

undefined | GraphNode<any, any>

Released under the MIT License.