Rev 12014 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
12014 | bpr | 1 | !set arrows=!record 0 of expldir |
2 | !set src=rankdir=LR;\ |
||
3 | node [style = filled];\ |
||
4 | $arrows |
||
5 | |||
6 | !set cnt=!recordcnt expldir |
||
7 | !for j=1 to $cnt |
||
8 | !set l=!record $j of expldir |
||
9 | !set src=$src\ |
||
10 | $(l[1]) |
||
11 | !reset complement |
||
12 | !if _1 isin $(l[1]) or _2 isin $(l[1]) |
||
13 | !set label=!replace internal _1 by in $(l[1]) |
||
14 | !set label=!replace internal _2 by in $label |
||
15 | !set complement=label="$label"; |
||
16 | !endif |
||
17 | !if $(l[2])!=$empty |
||
18 | !set complement=$(complement)tooltip="$(l[2..-2])" |
||
19 | !endif |
||
20 | !if $(l[-1])!=$empty |
||
21 | !set complement=$(complement)URL="$(l[-1])" target="wims_internal" |
||
22 | !endif |
||
23 | !if $complement!=$empty |
||
24 | !set src=$src[$complement] |
||
25 | !endif |
||
26 | !next |
||
27 | |||
28 | !set src=digraph{$src} |
||
29 | !set graphviz_output=svg |
||
30 | !set swout1=!exec graphviz $src |
||
31 | !!set swout1=!item 1 of $swout1 |
||
32 | !set swoutcnt=!linecnt $swout1 |
||
33 | !for l=7 to $swoutcnt |
||
14064 | bpr | 34 | !set gs=!line $l of $swout1 |
35 | !if __plain isin __$gs |
||
36 | !break |
||
37 | !endif |
||
38 | !set swout=!append line $gs to $swout |
||
12014 | bpr | 39 | !next |
40 | |||
41 | $swout |
||
42 | |||
43 |