You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
smallstonesk f882601284 refactor: codeEditModal and codeRunModal move to flowChart's folder 4 years ago
.circleci feat: 开源准备:单元测试/端对端测试/CI/文档/代码规范 4 years ago
__tests__/core/src feat: 开源准备:单元测试/端对端测试/CI/文档/代码规范 4 years ago
config refactor: remove jest-puppeteer 4 years ago
cypress feat: add e2e test 4 years ago
docs feat: 开源准备:单元测试/端对端测试/CI/文档/代码规范 4 years ago
example feat: supports mock input when running code online 4 years ago
packages refactor: codeEditModal and codeRunModal move to flowChart's folder 4 years ago
scripts feat: lerna + rollup + babel + typescript 配置 5 years ago
.all-contributorsrc chore: add CONTRIBUTING.md 4 years ago
.editorconfig refactor: remove umi app_root/*. files 4 years ago
.eslintrc.js feat: eslint代码规范 4 years ago
.gitignore chore: remove unused dependencies 4 years ago
.prettierignore refactor: remove umi app_root/*. files 4 years ago
.prettierrc chore: remove unused dependencies 4 years ago
CONTRIBUTING.md chore: add CONTRIBUTING.md 4 years ago
LICENSE feat: lerna + rollup + babel + typescript 配置 5 years ago
README.en-US.md fix: refactor the example folder 4 years ago
README.md Update README.md 4 years ago
cypress.json feat: add e2e test 4 years ago
lerna.json chore: fix npm run example dependency 4 years ago
package.json fix: add umi in packages 4 years ago
rollup.config.js chore: remove unused dependencies 4 years ago
tsconfig.json feat: 开源准备:单元测试/端对端测试/CI/文档/代码规范 4 years ago

README.md

gitter NPM version build status Test coverage PR's Welcome

iMove 是一个逻辑可复用的,面向函数的,流程可视化的 JavaScript 工具库。

English | 简体中文

特性

  • 流程可视化: 上手简单,绘图方便,逻辑表达更直观,易于理解
  • 逻辑复用: iMove 节点支持复用,单节点支持参数配置
  • 灵活可扩展: 仅需写一个函数,节点可扩展,支持插件集成
  • 多语言编译: 无语言编译出码限制(例: 支持 JavaScript, Java 编译出码)

快速开始

步骤 1. 准备

下载仓库,安装并启动

$ git clone git@github.com:imgcook/imove.git
$ cd imove
$ npm install
$ npm run example

此时浏览器会自动打开 http://localhost:8000/ ,可以看到运行效果。

步骤 2. 绘制流程图

从左侧拖动节点至中央画布,绘制流程图

flowchart

步骤 3. 配置节点

选择节点,修改节点名,编辑节点代码

flowchart-usage1

flowchart-usage2

贡献

  1. Fork 仓库
  2. 创建分支 (git checkout -b my-new-feature)
  3. 提交修改 (git commit -am 'Add some feature')
  4. 推送 (git push origin my-new-feature)
  5. 创建 PR

欢迎fork和反馈

如有建议或意见,欢迎在 github issues 区提问

协议

本仓库遵循 MIT 协议

贡献者

感谢 蚂蚁 X6 团队 提供的绘图引擎

感谢所有贡献的人 (emoji key):

本仓库遵循 all-contributors 规范,欢迎贡献!