Skip to content

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 25 Feb 12:13
· 124 commits to main since this release
57ad476

Minor Changes

  • e268990 Thanks @davidkpiano! - Make parentId, initialNodeId, and shape optional on GraphNode. These fields are no longer defaulted to null/'rectangle' by createGraph/createVisualGraph, they are simply omitted when not provided.

    Add empty string validation for node/edge IDs, parentId, sourceId, and targetId.

  • 55462e6 Thanks @davidkpiano! - Add xyflow (React Flow / Svelte Flow) format converter with toXYFlow() and fromXYFlow() for converting between VisualGraph and xyflow node/edge structures. Uses @xyflow/system as an optional peer dependency for types. Also adds VisualGraphFormatConverter type for visual-first format converters.