React Flow · Save and restore vs similar
3 options side by side. Our @design-infra pieces render live under the design system you choose; upstream pieces show their live demo where the host allows embedding, otherwise a screenshot with a link to the real thing. Pick or pass, then copy the feedback for your agent.
- No preview yetOpen live demo ↗recipeTechnicalRefined
Integration recipe: the command installs the library, not a standalone finished component. Adapt the linked upstream API/example to your data and brand. Import @xyflow/react/dist/style.css and size the parent. The MIT core is free; Pro examples/templates are a separate offering. Layout engines are optional dependencies, and persistence belongs to your app. Upstream: https://github.com/xyflow/xyflow. License: MIT. Package metadata: @xyflow/react@12.12.0; peers: react >=17; react-dom >=17; @types/react >=17; @types/react-dom >=17. Runtime integration is not verified by this metadata sync.
$pnpm add @xyflow/react - No preview yetOpen live demo ↗recipeTechnicalRefined
Integration recipe: the command installs the library, not a standalone finished component. Adapt the linked upstream API/example to your data and brand. Choose layouts and rendering features for the actual graph. Preserve cleanup and resize behavior in React; extensions and G6 major versions have their own compatibility requirements. Upstream: https://github.com/antvis/G6. License: MIT. Package metadata: @antv/g6@5.1.1. Runtime integration is not verified by this metadata sync.
$pnpm add @antv/g6 - No preview yetOpen live demo ↗recipeTechnicalRefined
Integration recipe: the command installs the library, not a standalone finished component. Adapt the linked upstream API/example to your data and brand. Good for connected entities rather than numeric dashboard axes. Destroy the instance on cleanup, review extensions individually and preserve a useful nonvisual representation of relationships. Upstream: https://github.com/cytoscape/cytoscape.js. License: MIT. Package metadata: cytoscape@3.34.4. Runtime integration is not verified by this metadata sync.
$pnpm add cytoscape
Feedback for your agent
Pick or pass on each option (add a reason if you like), then paste this back into your agent's chat.
From design-infra compare — React Flow · Save and restore vs similar: (no picks yet) Compare: https://www.owencoonahan.xyz/design-infra/compare?ids=react-flow/save-restore,antv-g6/layouts,cytoscape/layouts&label=React+Flow+%C2%B7+Save+and+restore+vs+similar