node_flow 0.1.1
node_flow: ^0.1.1 copied to clipboard
React Flow-style node editor canvas for Flutter: pan/zoom viewport, draggable nodes, drag-to-connect edges, marquee selection, snap guides, and a minimap.
Changelog #
0.1.1 #
- No functional changes. Infrastructure release: CI and automated publishing from GitHub Actions.
0.1.0 #
Initial release.
NodeFlow<T, E>canvas widget: infinite pan/zoom viewport, dotted background grid, app-defined node visuals vianodeBuilder.FlowController<T, E>: nodes, edges, selection, marquee, viewport operations (fitView,zoomTo,centerOnNode), and callback seams for app-owned undo/persistence (onMoveCommitted,onDeleted,onEdgesDeleted).- Node dragging with multi-selection, locked nodes, grid snap on commit, and Figma-style alignment snap guides.
- Ports and drag-to-connect with compatible-port detection, connection preview,
and normalized
onConnectrequests. - Edge styles: bezier, smoothstep, and straight, with optional animated flowing-dash rendering, hit-testing, and selection.
- Pannable minimap overlay with viewport indicator.
- Zero-dependency theming: explicit
FlowTheme,ThemeDataextension lookup, or built-in dark defaults.