lengfaqiang b3222b3dd3 seata源码改造代码上传初始化 2 năm trước cách đây
..
ggeditor b3222b3dd3 seata源码改造代码上传初始化 2 năm trước cách đây
src b3222b3dd3 seata源码改造代码上传初始化 2 năm trước cách đây
tools b3222b3dd3 seata源码改造代码上传初始化 2 năm trước cách đây
typings b3222b3dd3 seata源码改造代码上传初始化 2 năm trước cách đây
.babelrc b3222b3dd3 seata源码改造代码上传初始化 2 năm trước cách đây
.eslintignore b3222b3dd3 seata源码改造代码上传初始化 2 năm trước cách đây
.eslintrc.json b3222b3dd3 seata源码改造代码上传初始化 2 năm trước cách đây
.gitignore b3222b3dd3 seata源码改造代码上传初始化 2 năm trước cách đây
LICENSE b3222b3dd3 seata源码改造代码上传初始化 2 năm trước cách đây
README.md b3222b3dd3 seata源码改造代码上传初始化 2 năm trước cách đây
README.zh-CN.md b3222b3dd3 seata源码改造代码上传初始化 2 năm trước cách đây
index.html b3222b3dd3 seata源码改造代码上传初始化 2 năm trước cách đây
package-lock.json b3222b3dd3 seata源码改造代码上传初始化 2 năm trước cách đây
package.json b3222b3dd3 seata源码改造代码上传初始化 2 năm trước cách đây

README.md

English | 简体中文

Seata Saga StateMachine Designer

A visual graph Seata Saga StateMachine Designer based on GGEditor.

run

$ git clone https://github.com/seata/seata.git
$ cd saga/seata-saga-statemachine-designer
$ npm install
$ npm start

build a package

$ cd saga/saga-statemachine-designer
$ npm run build

copy 'index.html' and 'dist' directory to static html directory of web server

Usage

To understand the state types of the state machine, please see document of Saga. After using the designer to complete the design of the state machine, you can click the 'Json View' button on the toolbar to switch to the Json view, and save the Json to the project of your own application. Although the Json generated by the designer is different from the standard Json of the Saga state machine (because the json generated by the designer has layout information), the state machine can be directly loaded and it will be converted into the Json of the Saga state machine standard.