File tree Expand file tree Collapse file tree 3 files changed +40
-1
lines changed Expand file tree Collapse file tree 3 files changed +40
-1
lines changed Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html lang ="en ">
3
+ < head >
4
+ < meta charset ="utf-8 ">
5
+ < title > flowchart.js · Playground</ title >
6
+ < style type ="text/css ">
7
+ .end-element { background-color : # FFCCFF ; }
8
+ </ style >
9
+ < script src ="http://cdnjs.cloudflare.com/ajax/libs/raphael/2.1.0/raphael-min.js "> </ script >
10
+ < script src ="http://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.0/jquery.min.js "> </ script >
11
+ < script src ="../bin/flowchart-latest.js "> </ script >
12
+ < script >
13
+ $ ( document ) . ready ( function ( ) {
14
+ $ . ajax ( {
15
+ url : "test.txt" ,
16
+ dataType : "text" ,
17
+ success : function ( data ) {
18
+ var chart = flowchart . parse ( data ) ;
19
+ chart . drawSVG ( 'canvas' ) ;
20
+ }
21
+ } ) ;
22
+ } ) ;
23
+ </ script >
24
+ </ head >
25
+ < body >
26
+ < div id ="canvas "> </ div >
27
+ </ body >
28
+ </ html >
Original file line number Diff line number Diff line change
1
+ st=>start: Start:>http://www.google.com[blank]
2
+ e=>end:>http://www.google.com
3
+ op1=>operation: My Ooooperation
4
+ sub1=>subroutine: My Subroutine
5
+ cond=>condition: Yes
6
+ or No?:>http://www.google.com
7
+ io=>inputoutput: catch something...
8
+
9
+ st->op1->cond
10
+ cond(yes)->io->e
11
+ cond(no)->sub1(right)->op1
You can’t perform that action at this time.
0 commit comments