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, any, any, any>


getNodeTypes

getNodeTypes: Record<string, NodeComponent>


getNodes

getNodes: GraphNode<any, any>[]


getSelectedEdges

getSelectedEdges: GraphEdge<any, any>[]


getSelectedElements

getSelectedElements: FlowElements<any, any, any, 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.