ReactFlowJsonObject

Source on GitHub

A JSON-compatible representation of your flow. You can use this to save the flow to a database for example and load it back in later.

Fields

  • nodes: NodeType[]
  • edges: EdgeType[]
  • viewport: Viewport