Zurück zum Ranking

🦋Butterfly,A JavaScript/React/Vue2 Diagramming library which concentrate on flow layout field. (基于JavaScript/React/Vue2的流程图组件)

dagsvgflowflow-dagflow-layoutflowchartbpmndiagramdiagrammingconnectivitytreetreemap-diagram
Sterne-Wachstum
Sterne
4.6k
Forks
613
Wochenwachstum
Issues
161
2k4k
Nov. 2018Mai 2021Dez. 2023Juli 2026
Artefaktenpmnpm install butterfly
README

一个基于JS的数据驱动的节点式编排组件库

Build Status CircleCI npm package NPM downloads Dependencies DevDependencies

English | 简体中文

✨ 特性

  • 丰富DEMO,开箱即用
  • 全方位管理画布,开发者只需要更专注定制化的需求
  • 利用DOM/REACT/VUE来定制元素;灵活性,可塑性,拓展性优秀

🚀DEMO

本地DEMO

git clone git@github.com:alibaba/butterfly.git
npm install
cd example
npm install
npm start

线上DEMO

小蝴蝶官网

📦 安装

npm install butterfly-dag

🔨 快速上手

引入方式

// 完全版,内部包含jquery和lodash
import {Canvas, Group, Node, Edge} from 'butterfly-dag';
import 'butterfly-dag/dist/index.css';

// 如果您引用的项目使用了jquery和lodash,为了缩小项目的体积,我们建议:
import {Canvas, Group, Node, Edge} from 'butterfly-dag/pack/index.js';
import 'butterfly-dag/pack/index.css';

生成画布

import {Canvas} from 'butterfly-dag';
let canvas = new Canvas({
  root: dom,              //canvas的根节点(必传)
  zoomable: true,         //可缩放(可传)
  moveable: true,         //可平移(可传)
  draggable: true,        //节点可拖动(可传)
});
canvas.draw({
  groups: [],  //分组信息
  nodes: [],  //节点信息
  edges: []  // 连线信息
})

🔗 API文档

🎨优秀案例

⌨️垂直业务React拓展组件

  • 调度编排图(doing)
  • 监控图: 适用于任务流,数据流等业务的状态展示
  • Butterfly-Editor(doing)

🤝如何贡献

我们欢迎所有的贡献者,在成为贡献者之前,请先阅读贡献指南

如果您已经了解,快来IssusPull requests成为贡献者吧,让我们和小蝴蝶一起成长,一起变得更好、更棒!

Ähnliche Repositories
apache/airflow

Apache Airflow - A platform to programmatically author, schedule, and monitor workflows

PythonPyPIApache License 2.0airflowapache
airflow.apache.org
46.2k17.4k
marimo-team/marimo

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

PythonPyPIApache License 2.0notebookspython
marimo.io
21.9k1.2k
argoproj/argo-workflows

Workflow Engine for Kubernetes

GoGo ModulesApache License 2.0workflowkubernetes
argo-workflows.readthedocs.io
16.8k3.6k
sogou/workflow

C++ Parallel Computing and Asynchronous Networking Framework

C++Apache License 2.0taskinghttp
14.4k2.6k
hatchet-dev/hatchet

🪓 An orchestration engine for background tasks, AI agents, and durable workflows

GoGo ModulesMIT Licenseevent-drivengolang
hatchet.run
7.5k453
antvis/X6

🚀 JavaScript diagramming library that uses SVG and HTML for rendering.

TypeScriptnpmMIT Licensediagramminggraph
x6.antv.antgroup.com
6.6k1.9k
orchest/orchest

Build data pipelines, the easy way 🛠️

TypeScriptnpmApache License 2.0data-sciencemachine-learning
orchest.readthedocs.io/en/stable/
4.1k262
Netflix/maestro

Maestro: Netflix’s Workflow Orchestrator

JavaMavenApache License 2.0analyticsautomation
maestro-doc.github.io
3.8k297
apache/hamilton

Apache Hamilton helps data scientists and engineers define testable, modular, self-documenting dataflows, that encode lineage/tracing and metadata. Runs and scales everywhere python does.

Jupyter NotebookApache License 2.0data-sciencepython
hamilton.apache.org
2.6k201
ChunelFeng/CGraph

【A common used C++ & Python DAG framework】 一个通用的、无三方依赖的、跨平台的、收录于awesome-cpp的、基于流图的并行计算框架。欢迎star & fork & 交流

C++MIT Licensedagworkflow
chunel.cn
2.3k386
DAGWorks-Inc/hamilton

Hamilton helps data scientists and engineers define testable, modular, self-documenting dataflows, that encode lineage/tracing and metadata. Runs and scales everywhere python does.

Jupyter NotebookBSD 3-Clause Clear Licensedata-sciencepython
hamilton.dagworks.io/en/latest/
2k137
teamclairvoyant/airflow-maintenance-dags

A series of DAGs/Workflows to help maintain the operation of Airflow

PythonPyPIApache License 2.0airflowdag
1.8k393