File tree Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 15
15
xml = reader . result ;
16
16
config . groupInput = ( $ ( "input[name='o1']:checked" ) . val ( ) === '1' ) ? true : false ;
17
17
config . aH = parseInt ( $ ( "#o2" ) . val ( ) ) ;
18
+ config . aT = parseInt ( $ ( "#o2b" ) . val ( ) ) ;
18
19
config . itMode = parseInt ( $ ( "#o3" ) . val ( ) ) ;
19
20
config . viewDesc = ( $ ( "input[name='o4']:checked" ) . val ( ) === '1' ) ? true : false ;
20
21
drawFlowchartFromSource ( xml , '#f' , config ) ;
@@ -61,14 +62,16 @@ <h1 class="noprint">Flowgorithm JS Viewer</h1>
61
62
< label for ="o1b "> No< input type ="radio " value ="0 " name ="o1 " id ="o1b "> </ label >
62
63
</ div >
63
64
< div class ="row ">
64
- < label for ="o2 "> Distance between shapes: < input type ="number " min ="1 " max ="100 " value ="12 " style ="width:50px " name ="groupInput " id ="o2 "> </ label >
65
+ < label for ="o2 "> Arrow length: < input type ="number " min ="5 " max ="100 " value ="12 " style ="width:50px " name ="groupInput " id ="o2 "> </ label >
66
+ </ div >
67
+ < div class ="row ">
68
+ < label for ="o2b "> Arrow tip size: < input type ="number " min ="5 " max ="100 " value ="10 " style ="width:50px " name ="groupInput " id ="o2b "> </ label >
65
69
</ div >
66
70
< div class ="row ">
67
71
< label for ="o3 "> Style of pre-conditional iterations:</ label >
68
72
< select name ="o3 " id ="o3 ">
69
73
< option value ="2 " selected > Flowgorithm style</ option >
70
74
< option value ="3 "> Variant 1</ option >
71
- < option value ="1 "> Variant 2</ option >
72
75
</ select >
73
76
</ div >
74
77
< div class ="row ">
Original file line number Diff line number Diff line change 14
14
$ ( function ( ) {
15
15
drawFlowchartFromUrl ( url1 , '#f1' , config ) ;
16
16
drawFlowchartFromUrl ( url2 , '#f2' , config ) ;
17
+ //$('#xml1').load(url1);
17
18
} ) ;
18
19
</ script >
19
20
< style >
23
24
</ head >
24
25
< body >
25
26
< h1 > FlowgorithmJS - Example of use</ h1 >
26
- < div id ="f1 " class ="f "> </ div >
27
- < div id ="f2 " class ="f "> </ div >
27
+ < div class ="f ">
28
+ < div id ="f1 "> </ div >
29
+ < div id ="xml1 "> </ div >
30
+ </ div >
31
+ < div class ="f ">
32
+ < div id ="f2 "> </ div >
33
+ < div id ="xml2 "> </ div >
34
+ </ div >
28
35
</ body >
29
36
</ html >
You can’t perform that action at this time.
0 commit comments