ReactFlowJsonObject
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
Name | Type | Default |
---|---|---|
nodes | NodeType[] | |
edges | EdgeType[] | |
viewport | Viewport |
Last updated on