File: grinclude_me.graph

package info (click to toggle)
msc-generator 8.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 180,648 kB
  • sloc: cpp: 133,265; yacc: 23,546; ansic: 7,210; sh: 4,512; lex: 2,028; makefile: 1,085
file content (16 lines) | stat: -rw-r--r-- 454 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
defdesign kuku {
  defstyle aaa [style=bold]
  graph [bgcolor=red];
}

defproc probe($target, $label="yesyes") {
    if $label==yesyes then defstyle tmp [style=double]
    else defstyle tmp [style=bold];
    {$$+m,$$+n,$$+o,$$+p,$$+q}->$target;
    $$+m--$$+q [label=$label][tmp];
    if $target<=struct2 then $$+q..$$+p::\c(red)struct1 or struct2[]
    else $$+r>>$$+q;
    if $target>struct2 then $$+q..$$+p::\c(red)struct3 or xx;
};