on master help sign in
Add Graphviz DOT example files
5ec4936Stefano Probst
tests/syntax-tests/highlighted/Graphviz DOT/test_digraph.dotnew file+41
@@ -0,0 +1,41 @@
1+digraph {
2+ label = <Label <font color='red'><b>formating</b></font>,<br/> test <font point-size='20'>is</font> done<br/> here <i>now.</i>>;
3+
4+ node [shape=box]
5+ rankdir=LR
6+ margin=0.1
7+ a->b
8+
9+ // http://www.graphviz.org/doc/info/colors.html
10+ // note: style=filled!
11+ node [shape=box colorscheme=paired12 style=filled]
12+ margin=0.1
13+ a2[fillcolor=1]
14+ b2[fillcolor=3]
15+ a2->b2->x2
16+
17+ // http://www.graphviz.org/doc/info/colors.html
18+ // note: style=filled!
19+ node [shape=box colorscheme=paired12 style=filled]
20+ rankdir=LR
21+ margin=0.1
22+ c1[fillcolor=1]
23+ c2[fillcolor=2]
24+ c3[fillcolor=3]
25+ c4[fillcolor=4]
26+ c5[fillcolor=5]
27+ c6[fillcolor=6]
28+ c7[fillcolor=7]
29+ c8[fillcolor=8]
30+ c9[fillcolor=9]
31+ c10[fillcolor=10]
32+ c11[fillcolor=11]
33+ c12[fillcolor=12]
34+ c->{c1 c3 c5 c7 c9 c11}
35+ c1->c2
36+ c3->c4
37+ c5->c6
38+ c7->c8
39+ c9->c10
40+ c11->c12
41+}
tests/syntax-tests/highlighted/Graphviz DOT/test_graph.dotnew file+3
@@ -0,0 +1,3 @@
1+graph {
2+ a--b
3+}
tests/syntax-tests/source/Graphviz DOT/LICENSE.mdnew file+22
@@ -0,0 +1,22 @@
1+The files `test_digraph.dot` and `test_graph.dot` are modified versions the files from https://github.com/scriptum/graphviz-examples/tree/a7762875efa32f90f6f1a37d866b2c26d362202a under the following license:
2+
3+The MIT License (MIT)
4+
5+Copyright (c) 2014 Pavel Roschin
6+
7+Permission is hereby granted, free of charge, to any person obtaining a copy of
8+this software and associated documentation files (the "Software"), to deal in
9+the Software without restriction, including without limitation the rights to
10+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
11+the Software, and to permit persons to whom the Software is furnished to do so,
12+subject to the following conditions:
13+
14+The above copyright notice and this permission notice shall be included in all
15+copies or substantial portions of the Software.
16+
17+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
19+FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
20+COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
21+IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
22+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
tests/syntax-tests/source/Graphviz DOT/test_digraph.dotnew file+41
@@ -0,0 +1,41 @@
1+digraph {
2+ label = <Label <font color='red'><b>formating</b></font>,<br/> test <font point-size='20'>is</font> done<br/> here <i>now.</i>>;
3+
4+ node [shape=box]
5+ rankdir=LR
6+ margin=0.1
7+ a->b
8+
9+ // http://www.graphviz.org/doc/info/colors.html
10+ // note: style=filled!
11+ node [shape=box colorscheme=paired12 style=filled]
12+ margin=0.1
13+ a2[fillcolor=1]
14+ b2[fillcolor=3]
15+ a2->b2->x2
16+
17+ // http://www.graphviz.org/doc/info/colors.html
18+ // note: style=filled!
19+ node [shape=box colorscheme=paired12 style=filled]
20+ rankdir=LR
21+ margin=0.1
22+ c1[fillcolor=1]
23+ c2[fillcolor=2]
24+ c3[fillcolor=3]
25+ c4[fillcolor=4]
26+ c5[fillcolor=5]
27+ c6[fillcolor=6]
28+ c7[fillcolor=7]
29+ c8[fillcolor=8]
30+ c9[fillcolor=9]
31+ c10[fillcolor=10]
32+ c11[fillcolor=11]
33+ c12[fillcolor=12]
34+ c->{c1 c3 c5 c7 c9 c11}
35+ c1->c2
36+ c3->c4
37+ c5->c6
38+ c7->c8
39+ c9->c10
40+ c11->c12
41+}
tests/syntax-tests/source/Graphviz DOT/test_graph.dotnew file+3
@@ -0,0 +1,3 @@
1+graph {
2+ a--b
3+}