@shipplane/visualizer-react
@shipplane/visualizer-react renders @shipplane/core workflows as interactive React graphs. It also provides a complete editor panel for building workflows.
Install
Peer dependencies: react and react-dom (^19).
Usage
Import @shipplane/visualizer-react/style.css once in your application. The components are unstyled without it.
Public API
WorkflowGraph,useWorkflowGraph— renders/derives a graph from aWorkflowDefinition(and optionalWorkflowSnapshotfor run-status coloring).WorkflowEditorPanel,WorkflowEditor— full editing UI (graph + task form) over a workflow definition.useWorkflowComposer— headless state hook for adding/updating/deleting tasks, backing a custom editor UI.createWorkflowDraft— re-exported from@shipplane/visualizer, creates an empty workflow definition.buildTaskTypes,buildParamsMeta,splitTaskParams— helpers for driving task type/param forms from a task registry.