Debian Codegraph @

examples/dropshadows.dot

raw
1 /*
2
3 :Title: Node drop shadows
4 :Tags: TikZ
5
6
7 The ``tikz`` output format is highly customizable thanks to TikZ' powerful
8 style options. In this example drop shadows have been added to all the nodes.
9
10 **Note**: This example requires PGF 2.00 or later. Download the PDF to fully see
11 the drop shadow effect. The bitmap rendering does not render transparency well.
12
13
14 Generated with::
15
16 $ dot2tex -ftikz --prog neato -s --crop dropshadows.dot > dropshadows.tex
17
18
19 */
20 graph G {
21 d2tdocpreamble = "\usetikzlibrary{shadows}";
22 node [shape=circle,style="fill=red!20,circular drop shadow"];
23 "Node A" -- {"Node B"; "Node C"};
24 "Node B" -- {"Node E"; "Node G"};
25 "Node C" -- "Node D";
26 "Node D" -- {"Node F"; "Node H"};
27 "Node E" -- {"Node F"; "Node H"; "Node G"};
28 }