Skip to Content
Vue Flow v2 is here and joins xyflow! Read more here →
ReferenceTypes

FlowExportObject

The FlowExportObject type is the serializable snapshot of a flow returned by the instance’s toObject() — its nodes, edges, and viewport. Save it to persist a flow and restore it later.

Fields

NameTypeDefault
nodesNode<Record<string, unknown>, string | undefined>[]

exported nodes

edgesEdge<Record<string, unknown>, string>[]

exported edges

viewportViewport

exported viewport (position + zoom)