Re: Studiare le dipendenze

#99226
claudio
Partecipante
    Up
    0
    Down
    ::


    ho seguito il consiglio di Claudio 2, sono inoltre riuscito finalmente ad installare dot2tex vero!!!
    comunque ho un problema il grafico viene stretto ma si posiziona in alto a destra leggermente fuori pagina
    come convincerlo a tornare al centro ?
    ciao
    claudio 1

    `
    \documentclass{article}
    \usepackage[debug]{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={rectangle, draw=green,text=black,
    text centered, rounded corners}, }
    %\tikzset{main2 node/.style={main node,green,text=black}, }
    \tikzset{complesso node/.style={diamond, draw=blue,text=black,
    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}[neato,graphstyle={scale=1,transform shape},styleonly,options=–cache]
    digraph G{
    0 [style=”main2 node”,texlbl=”book.cls”]
    1 [style=”main node”,texlbl=”suftesi”]
    2 [style=”complesso node”,texlbl=”geometry”]
    3 [style=”main2 node”,texlbl=”xkeyval”]
    4 [style=”main2 node”,texlbl=”enumitem”]
    5 [style=”complesso node”,texlbl=”caption”]
    6 [style=”complesso 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=”complesso node”,texlbl=”microtype”]
    12 [style=”main2 node”,texlbl=”cclicenses”]
    13 [style=”main2 node”,texlbl=”fontenc”]
    14 [style=”main2 node”,texlbl=”sostitutefont”]
    15 [style=”complesso node”,texlbl=”crop”]
    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”]
    1->0
    1->2
    1->3
    1->4
    1->5
    1->6
    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->3
    1->17
    1->18
    1->19
    1->20
    1->21
    1->22
    22->3
    }
    \end{dot2tex}
    %%
    \end{tikzpicture}
    \end{document}
    `

    Go to top