File: dropshadows.dot

package info (click to toggle)
dot2tex 2.8.2-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 968 kB
  • ctags: 337
  • sloc: python: 3,057; makefile: 4
file content (28 lines) | stat: -rw-r--r-- 776 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*

:Title: Node drop shadows
:Tags: TikZ


The ``tikz`` output format is highly customizable thanks to TikZ' powerful
style options. In this example drop shadows have been added to all the nodes.

**Note**: This example requires PGF 2.00 or later. Download the PDF to fully see
the drop shadow effect. The bitmap rendering does not render transparency well. 


Generated with::

 $ dot2tex -ftikz --prog neato -s --crop dropshadows.dot > dropshadows.tex
 

*/
graph G {
    d2tdocpreamble = "\usetikzlibrary{shadows}";
    node [shape=circle,style="fill=red!20,circular drop shadow"];
    "Node A" -- {"Node B"; "Node C"};
    "Node B" -- {"Node E"; "Node G"};
    "Node C" -- "Node D";
    "Node D" -- {"Node F"; "Node H"};
    "Node E" -- {"Node F"; "Node H"; "Node G"};
}