open-source-labs/Svelvet ? reverse-engineered prompt

Reverse engineered prompt

Build me a Svelte component library for making interactive node based diagrams and flowcharts. I want a canvas where users can add, move, lock, and connect nodes, with customizable node shapes, anchors, and edges, plus a simple flowchart mode that can generate a diagram from a formatted text string. It should feel lightweight but powerful, with drag and drop editing, zoom and pan, snapping to a grid, and a way to save and reload the canvas state.

Please include a polished demo editor that shows the main features, like adding nodes, connecting them, opening a drawer or control panel, and toggling helpful UI tools such as a minimap and accessibility options. Make it keyboard friendly and easy to use, with sensible defaults but lots of room to customize. If you need to check the latest Svelte docs or best practices, look them up online.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab