Re: Studiare le dipendenze

#99219
claudio
Partecipante
    Up
    0
    Down
    ::


    ecco una cosa un po sofisticata
    suftesi
    SICURAMENTE vi sono errori e non è completa
    per rappresentarla ho dovuto abbandonare il sistema dei nodi che ho usato prima. Mi ha aiutato un articolo di Fiandrino per Arstexnica n.13 che mi ha fornito i mezzi per costruire il grafico.
    Buon divertimento
    claudio
    `
    \documentclass{article}
    \usepackage{dot2texi}
    \usepackage{tikz}
    \usetikzlibrary{shapes,arrows,positioning}
    \begin{document}
    \begin{tikzpicture}%[scale=0.8]
    \tikzset{main node/.style={rectangle, draw,
    text centered, rounded corners}, }
    \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=0.5,styleonly]
    digraph G{
    edge [style=bold]
    rankdir=”LR”;
    1 [style=”main node”,texlbl=”suftesi”]
    2 [style=”main node”,texlbl=”geometry”]
    201 [style=”internal node”,texlbl=”keyvall”]
    202 [style=”internal node”,texlbl=”ifpdf”]
    203 [style=”internal node”,texlbl=”atbegshi”]
    204 [style=”internal node”,texlbl=”ifvtex”]
    3 [style=”main node”,texlbl=”xkeyval”]
    301[style=”internal node”,texlbl=”xkeyval.tex”]
    302[style=”internal node”,texlbl=”xkvutils.tex”]
    303[style=”internal node”,texlbl=”keyval.tex”]

    4 [style=”main node”,texlbl=”enumitem”]
    5 [style=”main node”,texlbl=”caption”]
    51 [style=”internal node”,texlbl=”caption3″]
    6 [style=”main node”,texlbl=”color”]
    61 [style=”cfg node”,texlbl=”color.cfg”]
    62 [style=”driver node”,texlbl=”pdftex.def”]
    63 [style=”internal node”,texlbl=”infwarerr”]
    64 [style=”internal node”,texlbl=”ltxcmds”]
    65 [style=”internal node”,texlbl=”supp-pdf.mkii”]
    7 [style=”main node”,texlbl=”multicol”]
    8 [style=”main node”,texlbl=”emptypage”]
    9 [style=”main node”,texlbl=”textcase”]
    10 [style=”main node”,texlbl=”ifxetex”]
    11 [style=”main node”,texlbl=”microtype”]
    111[style=”driver node”,texlbl=”microtype-pdftex.def”]
    112[style=”cfg node”,texlbl=”microtype.cfg”]
    113[style=”driver node”,texlbl=”mt-ppl.cfg”]
    12 [style=”main node”,texlbl=”cclicenses”]
    13 [style=”main node”,texlbl=”fontenc”]
    1301 [style=”driver node”,texlbl=”lgrenc.def”]
    1302 [style=”driver node”,texlbl=”greek-fontenc.def”]
    1303 [style=”driver node”,texlbl=”t1enc.def”]
    1304 [style=”driver node”,texlbl=”lgrcmr.fd”]
    14 [style=”main node”,texlbl=”sostitutefont”]
    15 [style=”main node”,texlbl=”crop”]
    151 [style=”internal node”,texlbl=”graphics”]
    152 [style=”internal node”,texlbl=”trig”]
    153 [style=”cfg node”,texlbl=”graphics.cfg”]
    154 [style=”driver node”,texlbl=”epstopdf-base”]
    155 [style=”internal node”,texlbl=”pdftexcmds”]
    156 [style=”internal node”,texlbl=”ifpdf”]
    157 [style=”internal node”,texlbl=”ifluatex”]
    158 [style=”internal node”,texlbl=”grfext”]
    159 [style=”internal node”,texlbl=”kvoptions”]
    1510 [style=”internal node”,texlbl=”kvsetkeys”]
    1511 [style=”internal node”,texlbl=”etexcmds”]
    1512 [style=”cfg node”,texlbl=”epstopdf-sys.cfg”]
    16 [style=”main node”,texlbl=”titlesec”]
    1601[style=”cfg node”,texlbl=”ttlkey.cfg”]
    17 [style=”main node”,texlbl=”extramarks”]
    18 [style=”main node”,texlbl=”fancyhdr”]
    19 [style=”main node”,texlbl=”titletoc”]
    20 [style=”main node”,texlbl=”fixltxhyph”]
    21 [style=”main node”,texlbl=”mathpazo”]
    22 [style=”main node”,texlbl=”beramono”]

    15->151
    151->152
    151->153
    151->62
    153->62
    153->154
    154->63
    154->155
    153->155
    62->155
    155->156
    155->157
    154->158
    158->159
    159->64
    154->159
    159->1510
    159->1511
    159->201
    154->1512
    1->2
    2->201
    2->202
    2->203
    2->204
    2->10
    3->201[style=bold,labelfloat= true, label = “blocca”]
    3->301
    3->302
    3->303
    1->3
    1->4[style=bold,labelfloat= true, label = “[inline]”]
    1->5
    1->6
    6->61
    6->62
    62->63
    63->64
    62->65
    61->62
    5->51
    5->201
    11->111
    11->112
    11->201
    11->113
    1->7
    1->8
    1->9
    1->10
    1->11[style=bold,labelfloat= true, label = “[final]”]
    1->12
    1->13[style=bold,labelfloat= true, label = “[LGR,T1]”]
    1->14
    1->15[style=bold,labelfloat= true, label = “[A4,CAM,CENTER]”]
    15->6
    1->16
    16->1601
    1601->201
    1->17
    1->18
    1->19
    1->20
    1->21
    1->22
    22->201
    13->1301
    1301->1302
    1302->1303
    13->1304
    }
    \end{dot2tex}
    %%
    \end{tikzpicture}
    \end{document}
    `
    buon anno

    Go to top