Flow Chart

The flow chart must have four mandatory props.

Name
Type
Description

nodes

the nodes present in the flow

edges

the edges to connect the nodes

onNodesChange

(newNodes: Node[]) => void

function called every time there is a change in a node on the flow

onEdgesChange

(newEdges: Edge[]) => void

function called every time there is a change on a edge on the flow

Last updated