Skip to content

Commit 1d2fc72

Browse files
authored
Merge pull request #31 from sakazuki/issue-30
Map state support
2 parents d6b6408 + 00ae914 commit 1d2fc72

39 files changed

+8216
-2545
lines changed

.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
webpack.config.js
2+
src/@types/*.d.ts

.eslintrc.json

Lines changed: 33 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,19 @@
11
{
22
"extends": ["eslint:recommended"],
3-
"plugins": [],
4-
"parserOptions": {},
3+
"plugins": ["@typescript-eslint"],
4+
"parser": "@typescript-eslint/parser",
5+
"parserOptions": {
6+
"sourceType": "module",
7+
"project": "./tsconfig.json",
8+
"tsconfigRootDir": "."
9+
},
510
"env": {"browser": true, "es6": true},
611
"globals": {
712
"mxscript": false,
813
"Draw": false,
14+
"Graph": false,
915
"Editor": false,
16+
"EditDataDialog": true,
1017
"mxUtils": false,
1118
"mxEvent": false,
1219
"mxCellState": false,
@@ -25,16 +32,35 @@
2532
"mxMorphing": false,
2633
"mxForm": false,
2734
"mxCodecRegistry": false,
28-
"EditDataDialog": true,
2935
"mxCodec": false,
3036
"mxClient": false,
37+
"mxCompactTreeLayout": false,
38+
"mxCellRenderer": false,
39+
"mxSwimlane": false,
3140
"AWS": false,
3241
"__listStateMachines": false,
3342
"__describeStateMachine": false,
3443
"__updateAWSconfig": false,
3544
"__deployStateMachine": false,
3645
"jsyaml": false,
37-
"jsep": false
46+
"jsep": false,
47+
"AWSconfig": "writable",
48+
"StartPoint": "writable",
49+
"EndPoint": "writable",
50+
"TaskState": "writable",
51+
"PassState": "writable",
52+
"ChoiceState": "writable",
53+
"WaitState": "writable",
54+
"SucceedState": "writable",
55+
"FailState": "writable",
56+
"ParallelState": "writable",
57+
"MapState": "writable",
58+
"StartAtEdge": "writable",
59+
"NextEdge": "writable",
60+
"RetryEdge": "writable",
61+
"ChoiceEdge": "writable",
62+
"CatchEdge": "writable",
63+
"DefaultEdge": "writable"
3864
},
3965
"rules": {
4066
"indent": ["error", 2],
@@ -43,6 +69,8 @@
4369
"brace-style": ["error", "1tbs", { "allowSingleLine": true }],
4470
"space-before-blocks": ["error", "always"],
4571
"space-before-function-paren": ["error", "always"],
46-
"camelcase": "error"
72+
"camelcase": "warn",
73+
"no-undef": "warn",
74+
"no-unused-vars": "warn"
4775
}
4876
}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
node_modules
2+
.vscode

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# AWS Step Functions Workflow Designer
22

33
## About this
4-
- You can make a AWS step functions workflow with GUI on the browser and export JSON.
5-
- [v0.4.0-] You can import workflow definition JSON/YAML and update it with GUI.
4+
- You can create an AWS step functions workflow with GUI on the browser.
5+
- You can import/export a workflow definition with JSON/YAML.
66

77
This is a AWS Step Functions plugin for [draw.io](https://github.com/jgraph/draw.io).
88

@@ -14,13 +14,12 @@
1414
1. Select Save Option (ex. Decide Later...)
1515
1. Select Menu [Extras]-[Plugins]
1616
1. Click [Add]
17-
1. Input https://cdn.jsdelivr.net/gh/sakazuki/step-functions-draw.io@0.4.3/aws-step-functions.js
17+
1. Input https://cdn.jsdelivr.net/gh/sakazuki/step-functions-draw.io@0.5.0/dist/aws-step-functions.js
1818
1. [Apply]
1919
1. Reload the page
2020

2121
- You can run locally draw.io in the browser too. See details [draw.io Wiki page](https://github.com/jgraph/draw.io/wiki/Building)
2222

23-
2423
## Example
2524
1. Drag and drop a **Start** on a diagram
2625
1. Drag and drop a **Task** on a diagram
@@ -69,3 +68,8 @@
6968
1. Input https://cdn.jsdelivr.net/gh/sakazuki/step-functions-draw.io@0.4.3/aws-step-functions.js
7069
1. [Apply]
7170
1. Reload the page (Right click on a header part, and select reload menu.)
71+
72+
## Version history
73+
- https://cdn.jsdelivr.net/gh/sakazuki/step-functions-draw.io@0.5.0/dist/aws-step-functions.js
74+
- https://cdn.jsdelivr.net/gh/sakazuki/step-functions-draw.io@0.4.3/aws-step-functions.js
75+
- https://cdn.jsdelivr.net/gh/sakazuki/step-functions-draw.io@0.3.1/aws-step-functions.js

0 commit comments

Comments
 (0)