Skip to main content

Flow editor component

Overview

We provide a visual editor for creation and modification of use-coordination specs using their graph-based representation. The functionality described on this page is available in the sub-package @use-coordination/flow-editor (and not contained in the main use-coordination package).

<FlowEditor/>

Required props

spec

  • Type: object

Optional props

onSpecChange

  • Type: function

A callback function that emits spec updates upon changes in the editor.

import { FlowEditor } from '@use-coordination/flow-editor';