vyuh_node_flow
0.32.0, released 3 months ago by vyuh.tech
Flexible node-based flow editor for Flutter to build visual diagrams and workflows.
What it does
Provides a high-performance node-based flow editor for Flutter applications. It enables the creation of visual programming interfaces, workflow editors, interactive diagrams, and data pipelines with built-in support for pan, zoom, custom connections, and theming.
AI-written summary of version 0.32.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to build a visual workflow or data pipeline editor in Flutter.
- You require a canvas supporting nodes, ports, custom connections, and minimaps.
Skip it when
- You only need to display basic statistical charts like line, bar, or pie charts.
- Your application does not involve node-graph or flowchart editing interfaces.
Strengths
- High-performance rendering optimized for smooth interactions and large graphs.
- Comprehensive theming system and connection effects like particles and gradients.
- Extensible via extensions like minimaps, stats overlays, and level of detail rendering.
Weaknesses
- Niche use-case focused primarily on node-based editors and diagrams.
- Requires managing a custom controller state specific to node graphs.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- Yes (build_runner)
- Direct dependencies
- 7
import 'package:flutter/material.dart';
import 'package:vyuh_node_flow/vyuh_node_flow.dart';
class FlowEditor extends StatefulWidget {
@override
State<FlowEditor> createState() => _FlowEditorState();
}
class _FlowEditorState extends State<FlowEditor> {
late final controller = NodeFlowController<String, dynamic>(
nodes: [
Node<String>(
id: 'node-1',
type: 'input',
position: const Offset(100, 100),
data: 'Start',
),
],
);
@override
Widget build(BuildContext context) {
return NodeFlowEditor<String, dynamic>(
controller: controller,
theme: NodeFlowTheme.light,
nodeBuilder: (context, node) => Padding(
padding: const EdgeInsets.all(16),
child: Text(node.data),
),
);
}
}Alternatives
Packages that do the same job and could replace vyuh_node_flow.
- directed_graph
If you need automated layout of directed graphs rather than an interactive node editor canvas.
81Compare
Works with
Packages commonly used together with vyuh_node_flow: ones it builds on, ones built on it, and its own family.
- json_annotationvyuh_node_flow depends on itProvides annotations for json_serializable to generate JSON (de)serialization code.
- vector_mathvyuh_node_flow depends on itVector math library for 2D/3D/4D vectors, matrices, quaternions, and geometry.
- equatablevyuh_node_flow depends on itProvides value‑based equality for Dart objects without manual == and hashCode.
- mobxvyuh_node_flow depends on itTransparent functional reactive state management using observables, actions, and reactions.
- flutter_mobxvyuh_node_flow depends on itFlutter integration for MobX, providing reactive Observer widgets.
- mobx_codegenSame familyGenerates MobX store boilerplate from @observable, @computed and @action annotations.
- vyuh_diagram_flutterSame familyFlutter canvas for diagrams with pan, zoom, selection and theming
- vyuh_cliSame familyA command-line interface for the Vyuh Framework to scaffold modular Flutter Apps and features.