getartisanflow/alpineflow

Flowchart / node-graph engine for Alpine.js

What

Directive-driven node editor for Alpine.js (like React Flow for Alpine): nodes, edges, layouts (dagre, elk, d3), animation and Yjs collaboration.

How to use

bash
npm install @getartisanflow/alpineflow alpinejs
javascript
import Alpine from 'alpinejs';
import AlpineFlow from '@getartisanflow/alpineflow';
Alpine.plugin(AlpineFlow);
Alpine.start();

Then use x-data="flowCanvas({ nodes, edges })" with x-flow-viewport and x-flow-node.

Reach for it when

you need a node-based editor in an Alpine/Laravel stack without React.