Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Actions

Hierarchy

  • Actions

Index

Properties

addEdges: AddEdges

parses edges and adds to state

addNodes: AddNodes

parses nodes and adds to state

setEdges: SetEdges

parses edges and re-sets the state

setElements: SetElements

parses elements (nodes + edges) and re-sets the state

setNodes: SetNodes

parses nodes and re-sets the state

setState: SetState

set new state

updateEdge: UpdateEdge

updates an edge

updateNodeDimensions: UpdateNodeDimensions

internal dimensions' updater, you probably don't want to use this

updateNodePosition: UpdateNodePosition

internal position updater, you probably don't want to use this

Methods

  • $reset(): void
  • reset state to defaults

    Returns void

  • addSelectedEdges(edges: GraphEdge<any>[]): void
  • manually select edges and add to state

    Parameters

    Returns void

  • manually select elements and add to state

    Parameters

    Returns void

  • addSelectedNodes(nodes: GraphNode<any>[]): void
  • manually select nodes and add to state

    Parameters

    Returns void

  • applies default edge change handler

    Parameters

    Returns GraphEdge<any>[]

  • applies default node change handler

    Parameters

    Returns GraphNode<any>[]

  • resetSelectedElements(): void
  • unselect all selected elements

    Returns void

  • setInteractive(isInteractive: boolean): void
  • enable/disable node interaction (dragging, selecting etc)

    Parameters

    • isInteractive: boolean

    Returns void

  • setMaxZoom(zoom: number): void
  • apply max zoom value to d3

    Parameters

    • zoom: number

    Returns void

  • setMinZoom(zoom: number): void
  • apply min zoom value to d3

    Parameters

    • zoom: number

    Returns void

  • apply translate extent to d3

    Parameters

    Returns void

Generated using TypeDoc