diff --git a/README.md b/README.md index ceb32c32..03849acf 100644 --- a/README.md +++ b/README.md @@ -12,15 +12,17 @@ Fine grain changes to node and connection style can also be made right in the DS ```flowchart st=>start: Start:>http://www.google.com[blank] e=>end:>http://www.google.com +getInfo=>input: Input Info op1=>operation: My Operation sub1=>subroutine: My Subroutine cond=>condition: Yes or No?:>http://www.google.com io=>inputoutput: catch something... +printInfo=>output: Print info para=>parallel: parallel tasks -st->op1->cond -cond(yes)->io->e +st->getInfo->op1->cond +cond(yes)->io->printInfo->e cond(no)->para para(path1, bottom)->sub1(right)->op1 para(path2, top)->op1 @@ -95,6 +97,24 @@ Indicates that IO happens in a flow. io=>inputoutput: inputoutput ``` +### input +Indicates that Input happens in a flow. + +![input image](imgs/input.png "input image") + +```flowchart +getInfo=>input: Input info +``` + +### output +Indicates that Output happens in a flow. + +![output image](imgs/output.png "output image") + +```flowchart +printInfo=>output: Print info +``` + ### subroutine Indicates that a subroutine happens in the flow and that there should be another flowchart that documents this subroutine. diff --git a/bower.json b/bower.json deleted file mode 100644 index 5b82ba5d..00000000 --- a/bower.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "name": "flowchart", - "version": "1.6.6", - "main": "./release/flowchart.min.js", - "dependencies": {}, - "ignore": [ - "src/", - "buildtasks/", - "example/", - ".gitignore", - "Gruntfile.js", - "package.json", - "**/*.zip" - ] -} diff --git a/imgs/example.svg b/imgs/example.svg index e652353f..19096226 100644 --- a/imgs/example.svg +++ b/imgs/example.svg @@ -1 +1 @@ -Created with Raphaël 2.2.0StartMy OperationYesor No?catch something...Endparallel tasksMy Subroutineyesno \ No newline at end of file +Created with Raphaël 2.3.0StartInput InfoMy OperationYesor No?catch something...Print infoEndparallel tasksMy Subroutineyesno \ No newline at end of file diff --git a/imgs/input.png b/imgs/input.png new file mode 100644 index 00000000..0fb8d314 Binary files /dev/null and b/imgs/input.png differ diff --git a/imgs/output.png b/imgs/output.png new file mode 100644 index 00000000..d22a99a8 Binary files /dev/null and b/imgs/output.png differ diff --git a/index.html b/index.html index aae36316..eb057b41 100644 --- a/index.html +++ b/index.html @@ -18,6 +18,8 @@ c2=>condition: Good idea|rejected io=>inputoutput: catch something...|request para=>parallel: parallel tasks + in=>input: some in + out=>output: some out st->op1(right)->cond cond(yes, right)->c2 @@ -25,8 +27,9 @@ c2(true)->io->e c2(false)->e - para(path1, bottom)->sub1(left)->op1 + para(path1, left)->sub1(top)->op1 para(path2, right)->op2->e + para(path3, bottom)->in->out->e