├── .gitignore ├── README.md ├── api.go ├── bll └── b_flow.go ├── context.go ├── doc ├── BREAKING.md ├── index.sql ├── ionic.md ├── model.xlsx └── update_v2.sql ├── engine.go ├── example ├── screenshots │ ├── QQ20180123-175942@2x.png │ └── QQ20180123-180022@2x.png ├── server.go └── web │ ├── 0.async.js │ ├── 1.async.js │ ├── 2.async.js │ ├── 3.async.js │ ├── assets │ └── bpmn │ │ ├── app.css │ │ ├── diagram-js.css │ │ └── vendor │ │ └── bpmn-font │ │ ├── css │ │ ├── bpmn-embedded.css │ │ └── bpmn.css │ │ └── font │ │ ├── bpmn.eot │ │ ├── bpmn.svg │ │ ├── bpmn.ttf │ │ └── bpmn.woff │ ├── index.css │ ├── index.html │ └── index.js ├── exec.go ├── expression ├── builtin │ ├── exports.go │ └── exports_test.go ├── context.go ├── data.go ├── doc.go ├── exec.go ├── exec_test.go ├── export.go ├── expression.go ├── predefined.go ├── readme.md ├── sql │ ├── readme.md │ ├── sql.go │ └── sql.ql └── tpl.go ├── flow.go ├── flow_test.go ├── model └── m_flow.go ├── node_router.go ├── node_type.go ├── parse.go ├── parse_xml.go ├── parse_xml_test.go ├── register └── r_flow.go ├── render.go ├── render_ionic.go ├── render_ionic_test.go ├── schema └── s_flow.go ├── server.go ├── service └── db │ └── db.go ├── test_data ├── apply_sqltest.bpmn ├── basic.bpmn ├── flows_test_apply_users.sql ├── form_test.bpmn ├── form_test.result ├── leave.bpmn ├── parallel_test.bpmn └── route.bpmn ├── util ├── util.go └── util_test.go └── web ├── .editorconfig ├── .eslintrc ├── .gitignore ├── .tern-project ├── .webpackrc ├── README.md ├── package.json ├── public ├── assets │ └── bpmn │ │ ├── app.css │ │ ├── diagram-js.css │ │ └── vendor │ │ └── bpmn-font │ │ ├── css │ │ ├── bpmn-embedded.css │ │ └── bpmn.css │ │ └── font │ │ ├── bpmn.eot │ │ ├── bpmn.svg │ │ ├── bpmn.ttf │ │ └── bpmn.woff └── index.html ├── src ├── index.css ├── index.js ├── models │ └── flow.js ├── router.js ├── routes │ ├── FlowCard.js │ ├── FlowList.js │ └── FlowList.less ├── services │ └── flow.js └── utils │ ├── request.js │ └── util.js └── yarn-error.log /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/README.md -------------------------------------------------------------------------------- /api.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/api.go -------------------------------------------------------------------------------- /bll/b_flow.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/bll/b_flow.go -------------------------------------------------------------------------------- /context.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/context.go -------------------------------------------------------------------------------- /doc/BREAKING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/doc/BREAKING.md -------------------------------------------------------------------------------- /doc/index.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/doc/index.sql -------------------------------------------------------------------------------- /doc/ionic.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/doc/ionic.md -------------------------------------------------------------------------------- /doc/model.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/doc/model.xlsx -------------------------------------------------------------------------------- /doc/update_v2.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/doc/update_v2.sql -------------------------------------------------------------------------------- /engine.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/engine.go -------------------------------------------------------------------------------- /example/screenshots/QQ20180123-175942@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/example/screenshots/QQ20180123-175942@2x.png -------------------------------------------------------------------------------- /example/screenshots/QQ20180123-180022@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/example/screenshots/QQ20180123-180022@2x.png -------------------------------------------------------------------------------- /example/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/example/server.go -------------------------------------------------------------------------------- /example/web/0.async.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/example/web/0.async.js -------------------------------------------------------------------------------- /example/web/1.async.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/example/web/1.async.js -------------------------------------------------------------------------------- /example/web/2.async.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/example/web/2.async.js -------------------------------------------------------------------------------- /example/web/3.async.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/example/web/3.async.js -------------------------------------------------------------------------------- /example/web/assets/bpmn/app.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/example/web/assets/bpmn/app.css -------------------------------------------------------------------------------- /example/web/assets/bpmn/diagram-js.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/example/web/assets/bpmn/diagram-js.css -------------------------------------------------------------------------------- /example/web/assets/bpmn/vendor/bpmn-font/css/bpmn-embedded.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/example/web/assets/bpmn/vendor/bpmn-font/css/bpmn-embedded.css -------------------------------------------------------------------------------- /example/web/assets/bpmn/vendor/bpmn-font/css/bpmn.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/example/web/assets/bpmn/vendor/bpmn-font/css/bpmn.css -------------------------------------------------------------------------------- /example/web/assets/bpmn/vendor/bpmn-font/font/bpmn.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/example/web/assets/bpmn/vendor/bpmn-font/font/bpmn.eot -------------------------------------------------------------------------------- /example/web/assets/bpmn/vendor/bpmn-font/font/bpmn.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/example/web/assets/bpmn/vendor/bpmn-font/font/bpmn.svg -------------------------------------------------------------------------------- /example/web/assets/bpmn/vendor/bpmn-font/font/bpmn.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/example/web/assets/bpmn/vendor/bpmn-font/font/bpmn.ttf -------------------------------------------------------------------------------- /example/web/assets/bpmn/vendor/bpmn-font/font/bpmn.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/example/web/assets/bpmn/vendor/bpmn-font/font/bpmn.woff -------------------------------------------------------------------------------- /example/web/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/example/web/index.css -------------------------------------------------------------------------------- /example/web/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/example/web/index.html -------------------------------------------------------------------------------- /example/web/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/example/web/index.js -------------------------------------------------------------------------------- /exec.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/exec.go -------------------------------------------------------------------------------- /expression/builtin/exports.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/expression/builtin/exports.go -------------------------------------------------------------------------------- /expression/builtin/exports_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/expression/builtin/exports_test.go -------------------------------------------------------------------------------- /expression/context.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/expression/context.go -------------------------------------------------------------------------------- /expression/data.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/expression/data.go -------------------------------------------------------------------------------- /expression/doc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/expression/doc.go -------------------------------------------------------------------------------- /expression/exec.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/expression/exec.go -------------------------------------------------------------------------------- /expression/exec_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/expression/exec_test.go -------------------------------------------------------------------------------- /expression/export.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/expression/export.go -------------------------------------------------------------------------------- /expression/expression.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/expression/expression.go -------------------------------------------------------------------------------- /expression/predefined.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/expression/predefined.go -------------------------------------------------------------------------------- /expression/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/expression/readme.md -------------------------------------------------------------------------------- /expression/sql/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/expression/sql/readme.md -------------------------------------------------------------------------------- /expression/sql/sql.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/expression/sql/sql.go -------------------------------------------------------------------------------- /expression/sql/sql.ql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/expression/sql/sql.ql -------------------------------------------------------------------------------- /expression/tpl.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/expression/tpl.go -------------------------------------------------------------------------------- /flow.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/flow.go -------------------------------------------------------------------------------- /flow_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/flow_test.go -------------------------------------------------------------------------------- /model/m_flow.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/model/m_flow.go -------------------------------------------------------------------------------- /node_router.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/node_router.go -------------------------------------------------------------------------------- /node_type.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/node_type.go -------------------------------------------------------------------------------- /parse.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/parse.go -------------------------------------------------------------------------------- /parse_xml.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/parse_xml.go -------------------------------------------------------------------------------- /parse_xml_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/parse_xml_test.go -------------------------------------------------------------------------------- /register/r_flow.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/register/r_flow.go -------------------------------------------------------------------------------- /render.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/render.go -------------------------------------------------------------------------------- /render_ionic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/render_ionic.go -------------------------------------------------------------------------------- /render_ionic_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/render_ionic_test.go -------------------------------------------------------------------------------- /schema/s_flow.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/schema/s_flow.go -------------------------------------------------------------------------------- /server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/server.go -------------------------------------------------------------------------------- /service/db/db.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/service/db/db.go -------------------------------------------------------------------------------- /test_data/apply_sqltest.bpmn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/test_data/apply_sqltest.bpmn -------------------------------------------------------------------------------- /test_data/basic.bpmn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/test_data/basic.bpmn -------------------------------------------------------------------------------- /test_data/flows_test_apply_users.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/test_data/flows_test_apply_users.sql -------------------------------------------------------------------------------- /test_data/form_test.bpmn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/test_data/form_test.bpmn -------------------------------------------------------------------------------- /test_data/form_test.result: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/test_data/form_test.result -------------------------------------------------------------------------------- /test_data/leave.bpmn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/test_data/leave.bpmn -------------------------------------------------------------------------------- /test_data/parallel_test.bpmn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/test_data/parallel_test.bpmn -------------------------------------------------------------------------------- /test_data/route.bpmn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/test_data/route.bpmn -------------------------------------------------------------------------------- /util/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/util/util.go -------------------------------------------------------------------------------- /util/util_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/util/util_test.go -------------------------------------------------------------------------------- /web/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/web/.editorconfig -------------------------------------------------------------------------------- /web/.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/web/.eslintrc -------------------------------------------------------------------------------- /web/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/web/.gitignore -------------------------------------------------------------------------------- /web/.tern-project: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/web/.tern-project -------------------------------------------------------------------------------- /web/.webpackrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/web/.webpackrc -------------------------------------------------------------------------------- /web/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/web/README.md -------------------------------------------------------------------------------- /web/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/web/package.json -------------------------------------------------------------------------------- /web/public/assets/bpmn/app.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/web/public/assets/bpmn/app.css -------------------------------------------------------------------------------- /web/public/assets/bpmn/diagram-js.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/web/public/assets/bpmn/diagram-js.css -------------------------------------------------------------------------------- /web/public/assets/bpmn/vendor/bpmn-font/css/bpmn-embedded.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/web/public/assets/bpmn/vendor/bpmn-font/css/bpmn-embedded.css -------------------------------------------------------------------------------- /web/public/assets/bpmn/vendor/bpmn-font/css/bpmn.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/web/public/assets/bpmn/vendor/bpmn-font/css/bpmn.css -------------------------------------------------------------------------------- /web/public/assets/bpmn/vendor/bpmn-font/font/bpmn.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/web/public/assets/bpmn/vendor/bpmn-font/font/bpmn.eot -------------------------------------------------------------------------------- /web/public/assets/bpmn/vendor/bpmn-font/font/bpmn.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/web/public/assets/bpmn/vendor/bpmn-font/font/bpmn.svg -------------------------------------------------------------------------------- /web/public/assets/bpmn/vendor/bpmn-font/font/bpmn.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/web/public/assets/bpmn/vendor/bpmn-font/font/bpmn.ttf -------------------------------------------------------------------------------- /web/public/assets/bpmn/vendor/bpmn-font/font/bpmn.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/web/public/assets/bpmn/vendor/bpmn-font/font/bpmn.woff -------------------------------------------------------------------------------- /web/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/web/public/index.html -------------------------------------------------------------------------------- /web/src/index.css: -------------------------------------------------------------------------------- 1 | 2 | html, body, :global(#root) { 3 | height: 100%; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /web/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/web/src/index.js -------------------------------------------------------------------------------- /web/src/models/flow.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/web/src/models/flow.js -------------------------------------------------------------------------------- /web/src/router.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/web/src/router.js -------------------------------------------------------------------------------- /web/src/routes/FlowCard.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/web/src/routes/FlowCard.js -------------------------------------------------------------------------------- /web/src/routes/FlowList.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/web/src/routes/FlowList.js -------------------------------------------------------------------------------- /web/src/routes/FlowList.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/web/src/routes/FlowList.less -------------------------------------------------------------------------------- /web/src/services/flow.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/web/src/services/flow.js -------------------------------------------------------------------------------- /web/src/utils/request.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/web/src/utils/request.js -------------------------------------------------------------------------------- /web/src/utils/util.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/web/src/utils/util.js -------------------------------------------------------------------------------- /web/yarn-error.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antlinker/flow/HEAD/web/yarn-error.log --------------------------------------------------------------------------------