Skip to Content
ReferenceTypes

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.

export type ReactFlowJsonObject<T, U> = { nodes: Node<T>[]; edges: Edge<U>[]; viewport: Viewport; };

Fields

NameTypeDefault
nodesNodeType[]
edgesEdgeType[]
viewportViewport
Last updated on