mirror of https://github.com/sharkdp/bat
parent
be84682bcb
commit
5ec4936a4f
@ -0,0 +1,22 @@
|
|||||||
|
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:
|
||||||
|
|
||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (c) 2014 Pavel Roschin
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
this software and associated documentation files (the "Software"), to deal in
|
||||||
|
the Software without restriction, including without limitation the rights to
|
||||||
|
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
|
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
|
subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
|
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
|
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
@ -0,0 +1,41 @@
|
|||||||
|
digraph {
|
||||||
|
label = <Label <font color='red'><b>formating</b></font>,<br/> test <font point-size='20'>is</font> done<br/> here <i>now.</i>>;
|
||||||
|
|
||||||
|
node [shape=box]
|
||||||
|
rankdir=LR
|
||||||
|
margin=0.1
|
||||||
|
a->b
|
||||||
|
|
||||||
|
// http://www.graphviz.org/doc/info/colors.html
|
||||||
|
// note: style=filled!
|
||||||
|
node [shape=box colorscheme=paired12 style=filled]
|
||||||
|
margin=0.1
|
||||||
|
a2[fillcolor=1]
|
||||||
|
b2[fillcolor=3]
|
||||||
|
a2->b2->x2
|
||||||
|
|
||||||
|
// http://www.graphviz.org/doc/info/colors.html
|
||||||
|
// note: style=filled!
|
||||||
|
node [shape=box colorscheme=paired12 style=filled]
|
||||||
|
rankdir=LR
|
||||||
|
margin=0.1
|
||||||
|
c1[fillcolor=1]
|
||||||
|
c2[fillcolor=2]
|
||||||
|
c3[fillcolor=3]
|
||||||
|
c4[fillcolor=4]
|
||||||
|
c5[fillcolor=5]
|
||||||
|
c6[fillcolor=6]
|
||||||
|
c7[fillcolor=7]
|
||||||
|
c8[fillcolor=8]
|
||||||
|
c9[fillcolor=9]
|
||||||
|
c10[fillcolor=10]
|
||||||
|
c11[fillcolor=11]
|
||||||
|
c12[fillcolor=12]
|
||||||
|
c->{c1 c3 c5 c7 c9 c11}
|
||||||
|
c1->c2
|
||||||
|
c3->c4
|
||||||
|
c5->c6
|
||||||
|
c7->c8
|
||||||
|
c9->c10
|
||||||
|
c11->c12
|
||||||
|
}
|
@ -0,0 +1,3 @@
|
|||||||
|
graph {
|
||||||
|
a--b
|
||||||
|
}
|
Loading…
Reference in New Issue