Skip to content

Commit

Permalink
valid gv files for sbmodelr
Browse files Browse the repository at this point in the history
  • Loading branch information
pmendes committed Jun 14, 2024
1 parent 33e4bb1 commit 7de85b5
Show file tree
Hide file tree
Showing 4 changed files with 74 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/sources/test08_2.gv
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
graph {
1 [label="(0, 0.5, 0.5)", pos="0.5,-0.5!"];
2 [label="(0, 1.5, -0.5)", pos="-0.5,-1.5!"];
1 -- 2 [fontsize=8, label="1.0"];
}
30 changes: 30 additions & 0 deletions tests/sources/test15_11.gv
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
digraph G {
size="6,6";
node [shape=circle,fontsize=8];
rankdir=LR;
9 -> 9 [label="11/1"];
9 -> 10 [label="10/1"];
8 -> 8 [label="10/1"];
8 -> 11 [label="00/-"];
7 -> 8 [label="10/1"];
7 -> 7 [label="00/1"];
6 -> 6 [label="01/1"];
6 -> 11 [label="00/-"];
5 -> 6 [label="01/1"];
5 -> 5 [label="11/1"];
4 -> 4 [label="01/1"];
4 -> 11 [label="00/-"];
3 -> 4 [label="01/1"];
3 -> 3 [label="00/1"];
2 -> 9 [label="11/1"];
2 -> 7 [label="00/1"];
2 -> 2 [label="01/1"];
10 -> 10 [label="10/1"];
10 -> 11 [label="00/-"];
1 -> 5 [label="11/1"];
1 -> 3 [label="00/1"];
1 -> 1 [label="10/1"];
11 -> 2 [label="01/-"];
11 -> 1 [label="10/-"];
11 -> 11 [label="00/0"];
}
29 changes: 29 additions & 0 deletions tests/sources/test16_12.gv
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
digraph simple {
orientation=landscape;
ratio=auto;
size = "10,7.5";
label="Task Hierarchy: model2";
1 [shape=box,fontcolor=forestgreen];
2 [shape=box];
3 [shape=box];
4 [shape=box];
5 [shape=box];
6 [shape=box];
7 [shape=box];
8 [shape=box];
9 [shape=box];
10 [shape=box];
11 [shape=box];
12 [shape=box];
1 -> 2 [];
1 -> 3 [];
1 -> 4 [];
1 -> 5 [];
1 -> 6 [];
1 -> 7 [];
1 -> 8 [];
1 -> 9 [];
9 -> 10 [];
9 -> 11 [];
9 -> 12 [];
}
10 changes: 10 additions & 0 deletions tests/sources/test22_6.gv
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
digraph G {
1 [shape=rectangle]
2 [shape=none]
3 [shape=note]
4 [shape=tab]
5 [shape=box3d]
6 [shape=component]
1 -> 2
3 -> 4 -> 5 -> 6
}

0 comments on commit 7de85b5

Please sign in to comment.