workflow.graph.hasnode.md

January 18, 2023 ยท View on GitHub

Home > @datashaper/workflow > Graph > hasNode

Graph.hasNode() method

Determines if the graph contains a node by id

Signature:

hasNode(id: NodeId): boolean;

Parameters

ParameterTypeDescription
idNodeIdThe node id

Returns:

boolean

Contents

  1. 1Graph.hasNode() method
  2. 2Parameters