Una soluzione così?
`
\documentclass{article}
\usepackage{dot2texi}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows,positioning}
\begin{document}
\begin{tikzpicture}%[scale=0.8]
\tikzset{main node/.style={rectangle, draw=red,text=black,
text centered, rounded corners}, }
\tikzset{main2 node/.style={main node,green,text=black}, }
\tikzset{internal node/.style={rectangle, draw,dotted,
text centered, rounded corners}, }
\tikzset{driver node/.style={ellipse, draw,dashed,
text centered}, }
\tikzset{formato node/.style={rectangle, draw,dotted,
text centered}, }
\tikzset{cfg node/.style={minimum size=1cm}, }
\tikzset{linea/.style={-triangle 90},}
\begin{dot2tex}[dot,format=tikz,scale=1.0,styleonly]
digraph G{
rankdir=”LR”;
0 [style=”main2 node”,texlbl=”report.cls”]
1 [style=”main node”,texlbl=”toptesi.cls”]
101[style=”main2 node”,texlbl=”babel”]
102[style=”main2 node”,texlbl=”ifxetex”]
2[style=”main node”,texlbl=”toptesi.sty”]
201[style=”main2 node”,texlbl=”pdfx”]
202[style=”main2 node”,texlbl=”etoolbox”]
203[style=”main2 node”,texlbl=”graphicx”]
2031[style=”main2 node”,texlbl=”vedi…”]
204[style=”main2 node”,texlbl=”hyperref”]
3[style=”main node”,texlbl=”topcoman.sty”]
301 [style=”main2 node”,texlbl=”textcomp”]
4[style=”main node”,texlbl=”topfront.sty”]
5[style=”cfg node”,texlbl=”toptesi.cfg”]
1->2
1->0
1->102
1->101
2->3
2->201
2->202
2->203
203->2031
2->204
2->4
3->301
3->102
4->5
}
\end{dot2tex}
% \begin{pgfonlayer}{background}
% \draw[rounded corners=2em,line width=5em,blue!20,cap=round]
% (103.center) — (104.center);
% \end{pgfonlayer}
\end{tikzpicture}
\end{document}
`
altro esempio
`
\documentclass{article}
\usepackage{dot2texi}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows,positioning}
\begin{document}
\begin{tikzpicture}%[scale=0.8]
\tikzset{main node/.style={rectangle, draw=red,text=black,
text centered, rounded corners}, }
\tikzset{main2 node/.style={main node,green,text=black}, }
\tikzset{internal node/.style={rectangle, draw,dotted,
text centered, rounded corners}, }
\tikzset{driver node/.style={ellipse, draw,dashed,
text centered}, }
\tikzset{formato node/.style={rectangle, draw,dotted,
text centered}, }
\tikzset{cfg node/.style={minimum size=1cm}, }
\tikzset{linea/.style={-triangle 90},}
\begin{dot2tex}[neato,format=tikz,scale=1.2,styleonly]
digraph G{
0[style=”main2 node”,texlbl=”book.cls”]
1 [style=”main node”,texlbl=”suftesi”]
2 [style=”main2 node”,texlbl=”geometry”]
201 [style=”internal node”,texlbl=”keyvall”]
3 [style=”main2 node”,texlbl=”xkeyval”]
4 [style=”main2 node”,texlbl=”enumitem”]
5 [style=”main2 node”,texlbl=”caption”]
51 [style=”internal node”,texlbl=”caption3″]
6 [style=”main2 node”,texlbl=”color”]
7 [style=”main2 node”,texlbl=”multicol”]
8 [style=”main2 node”,texlbl=”emptypage”]
9 [style=”main2 node”,texlbl=”textcase”]
10 [style=”main2 node”,texlbl=”ifxetex”]
11 [style=”main2 node”,texlbl=”microtype”]
111[style=”driver node”,texlbl=”microtype-pdftex.def”]
12 [style=”main2 node”,texlbl=”cclicenses”]
13 [style=”main2 node”,texlbl=”fontenc”]
14 [style=”main2 node”,texlbl=”sostitutefont”]
15 [style=”main2 node”,texlbl=”crop”]
151 [style=”internal node”,texlbl=”graphics”]
16 [style=”main2 node”,texlbl=”titlesec”]
1601[style=”cfg node”,texlbl=”ttlkey.cfg”]
17 [style=”main2 node”,texlbl=”extramarks”]
18 [style=”main2 node”,texlbl=”fancyhdr”]
19 [style=”main2 node”,texlbl=”titletoc”]
20 [style=”main2 node”,texlbl=”fixltxhyph”]
21 [style=”main2 node”,texlbl=”mathpazo”]
22 [style=”main2 node”,texlbl=”beramono”]
15->151
1->0
1->2
2->201
2->10
3->201
1->3
1->4
1->5
1->6
5->51
5->201
11->111
11->201
1->7
1->8
1->9
1->10
1->11
1->12
1->13
1->14
1->15
15->6
1->16
16->1601
1601->201
1->17
1->18
1->19
1->20
1->21
1->22
22->201
}
\end{dot2tex}
%%
\end{tikzpicture}
\end{document}
`
ciao
claudio