Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Getters

Hierarchy

  • Getters

Index

Properties

getEdgeTypes: Record<string, EdgeComponent<any>>

returns object containing current edge types

getEdges: GraphEdge<any>[]

filters hidden edges

getNodeTypes: Record<string, NodeComponent<any>>

returns object containing current node types

getNodes: GraphNode<any>[]

filters hidden nodes

getSelectedEdges: GraphEdge<any>[]

returns all currently selected edges

getSelectedElements: FlowElements<any>

returns all currently selected elements

getSelectedNodes: GraphNode<any>[]

returns all currently selected nodes

Methods

  • getEdge<Data>(id: string): undefined | GraphEdge<Data>
  • returns an edge by id

    Type parameters

    • Data = any

    Parameters

    • id: string

    Returns undefined | GraphEdge<Data>

  • getNode<Data>(id: string): undefined | GraphNode<Data>
  • returns a node by id

    Type parameters

    • Data = any

    Parameters

    • id: string

    Returns undefined | GraphNode<Data>

Generated using TypeDoc