A JavaScript/React/Vue2 diagramming library focused on flow layout and node-based orchestration.
Butterfly is a JavaScript diagramming library that specializes in creating flow layouts and node-based orchestration diagrams. It provides a data-driven canvas for visualizing processes, dependencies, and relationships, commonly used for workflow design, data mapping, and system modeling. The library handles core diagram interactions so developers can concentrate on customizing nodes and edges.
Frontend developers and teams building applications that require interactive flowcharts, data lineage visualizations, UML diagrams, or any node-and-edge-based diagramming interface.
Developers choose Butterfly for its comprehensive canvas management, framework-agnostic customization (supporting DOM, React, and Vue2), and rich set of built-in features and plugins. It reduces the complexity of implementing interactive diagrams while offering the flexibility to tailor visuals to specific business needs.
🦋Butterfly,A JavaScript/React/Vue2 Diagramming library which concentrate on flow layout field. (基于JavaScript/React/Vue2的流程图组件)
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
The library comes with extensive examples for quick start and common use cases, highlighted in the README as '丰富DEMO' to accelerate development.
Handles zooming, panning, dragging, and layout automatically, freeing developers to focus on customization, per the '全方位管理画布' feature description.
Supports defining nodes and edges using DOM, React, or Vue2, offering high flexibility and extensibility, as stated in the README's feature list.
Draws diagrams based on structured data (nodes, edges, groups), enabling dynamic visualization updates from backend sources, which aligns with its data-driven philosophy.
Includes plugins for arrows, side panels, and hotkeys, allowing easy extension of functionality without modifying core code, as documented in the plugins section.
The README explicitly states that React butterfly component support is '不维护' (not maintained), recommending native use instead, which can be a significant drawback for React-centric teams.
Much of the documentation and community resources are primarily in Chinese, as seen in the README's language options, posing a barrier for non-Chinese speaking developers.
The full version bundles jQuery and lodash, increasing bundle size, and the setup requires careful management if these are already in the project, as noted in the installation instructions.
While excellent for flow and node-based diagrams, it lacks built-in features for other chart types like bar or pie charts, limiting its applicability to broader visualization needs.