problema mindmaps

  • Creatore
    Topic
  • #94121
    Up
    0
    Down
    ::


    salve a tutti. ho visto il seguente elaborato

    `
    http://www.texample.net/tikz/examples/computer-science-mindmap/
    `

    sto provando a creare un nodo centrale con varie ramificazioni (no sotto ramificazioni – per intenderci: al centro una voce dalla quale si diramano altri collegamenti senza ulteriori figli).
    il problema è che al nodo centrale si possono collegare max 6 figli.

    come è possibile??

    con questo codice, invece, modificato dalla rete posso collegarne di più, ma se provo a modificare colore e nomi sballa tutto dando errore
    `
    \begin{tikzpicture}
    [
    mindmap,
    concept color=red,
    root concept/.append style={fill=white, line width=1ex,text=black,font=\large\ttfamily},
    level 1 concept/.append style={sibling angle=32.7,minimum width=2.5cm},
    every node/.style={concept, execute at begin node=\hskip0pt,font=\large\ttfamily}
    ]
    \node[root concept] {ebruni.it} [clockwise from=180]
    child[concept color=red] {node[concept] {www.}}
    child[concept color=red] {node[concept] {info@}}
    child[concept color=red] {node[concept] {facebook.}}
    child[concept color=red] {node[concept] { linkedin.}}
    child[concept color=red] {node[concept] { twitter.}}
    child[concept color=red] {node[concept] {vimeo.}}
    child[concept color=red] {node[concept] { tumblr.}}
    child[concept color=red] {node[concept] {qik.}}
    child[concept color=red] {node[concept] {picasa.}}
    child[concept color=red] {node[concept] {youtube.}}
    child[concept color=red] {node[concept] {flickr.}}
    ;
    \end{tikzpicture}
    `

    esempio compilabile del codice
    `
    http://blog.ebruni.it/blog/tag/tikz
    `

Visualizzazione 4 filoni di risposte
  • Autore
    Risposte
    • #94122
      alegenn
      Partecipante
        Up
        0
        Down
        ::

        light kira” post=93705salve a tutti. ho visto il seguente elaborato

        `
        http://www.texample.net/tikz/examples/computer-science-mindmap/
        `

        sto provando a creare un nodo centrale con varie ramificazioni (no sotto ramificazioni – per intenderci: al centro una voce dalla quale si diramano altri collegamenti senza ulteriori figli).
        il problema è che al nodo centrale si possono collegare max 6 figli.

        come è possibile??

        con questo codice, invece, modificato dalla rete posso collegarne di più, ma se provo a modificare colore e nomi sballa tutto dando errore
        `
        \begin{tikzpicture}
        [
        mindmap,
        concept color=red,
        root concept/.append style={fill=white, line width=1ex,text=black,font=\large\ttfamily},
        level 1 concept/.append style={sibling angle=32.7,minimum width=2.5cm},
        every node/.style={concept, execute at begin node=\hskip0pt,font=\large\ttfamily}
        ]
        \node[root concept] {ebruni.it} [clockwise from=180]
        child[concept color=red] {node[concept] {www.}}
        child[concept color=red] {node[concept] {info@}}
        child[concept color=red] {node[concept] {facebook.}}
        child[concept color=red] {node[concept] { linkedin.}}
        child[concept color=red] {node[concept] { twitter.}}
        child[concept color=red] {node[concept] {vimeo.}}
        child[concept color=red] {node[concept] { tumblr.}}
        child[concept color=red] {node[concept] {qik.}}
        child[concept color=red] {node[concept] {picasa.}}
        child[concept color=red] {node[concept] {youtube.}}
        child[concept color=red] {node[concept] {flickr.}}
        ;
        \end{tikzpicture}
        `

        esempio compilabile del codice
        `
        http://blog.ebruni.it/blog/tag/tikz
        `

        Ciao,
        prova così
        `\documentclass[tikz]{standalone}
        \standaloneconfig{crop=true,border={1em 5em 4em 0em}}
        \usepackage[T1]{fontenc}
        \usepackage[utf8]{inputenc}
        \usepackage{geometry}
        \geometry{a4paper}
        \usepackage{graphicx}
        \usepackage{pgf}
        \usepackage{tikz}
        \usetikzlibrary{mindmap,calendar,backgrounds,shadows}

        \def\lecture#1#2#3#4#5#6{
        % As before:
        \node [annotation, #3, scale=0.65, text width=4cm, inner sep=2mm, fill=white] at (#4) {
        Lecture #1: \textcolor{orange}{\textbf{#2}}
        \list{–}{\topsep=2pt\itemsep=0pt\parsep=0pt
        \parskip=0pt\labelwidth=8pt\leftmargin=8pt
        \itemindent=0pt\labelsep=2pt}
        #5
        \endlist };
        % New:
        \node [anchor=base west] at (cal-#6.base east) {\textcolor{orange}{\textbf{#2}}};
        }

        \begin{document}

        \begin{tikzpicture}
        [
        mindmap,
        concept color=red,
        root concept/.append style={fill=white, line width=1ex,text=black,font=\large\ttfamily},
        level 1 concept/.append style={sibling angle=32.7,minimum width=2.5cm},
        every node/.style={concept, execute at begin node=\hskip0pt,font=\large\ttfamily}
        ]
        \node[root concept] {ebruni.it} [clockwise from=180]
        child[concept color=red] {node[concept] {www.}}
        child[concept color=red] {node[concept] {info@}}
        child[concept color=red] {node[concept] {facebook.}}
        child[concept color=red] {node[concept] { linkedin.}}
        child[concept color=red] {node[concept] { twitter.}}
        child[concept color=red] {node[concept] {vimeo.}}
        child[concept color=red] {node[concept] { tumblr.}}
        child[concept color=red] {node[concept] {qik.}}
        child[concept color=red] {node[concept] {picasa.}}
        child[concept color=red] {node[concept] {youtube.}}
        child[concept color=red] {node[concept] {flickr.}}
        ;
        \end{tikzpicture}

        % Further ’tikzpicture’ environments are possible which will create further pages.
        \end{document}`
        Saluti

      • #94123
        alegenn
        Partecipante
          Up
          0
          Down
          ::

          light kira” post=93705salve a tutti. ho visto il seguente elaborato

          `
          http://www.texample.net/tikz/examples/computer-science-mindmap/
          `

          sto provando a creare un nodo centrale con varie ramificazioni (no sotto ramificazioni – per intenderci: al centro una voce dalla quale si diramano altri collegamenti senza ulteriori figli).
          il problema è che al nodo centrale si possono collegare max 6 figli.

          come è possibile??

          con questo codice, invece, modificato dalla rete posso collegarne di più, ma se provo a modificare colore e nomi sballa tutto dando errore
          `
          \begin{tikzpicture}
          [
          mindmap,
          concept color=red,
          root concept/.append style={fill=white, line width=1ex,text=black,font=\large\ttfamily},
          level 1 concept/.append style={sibling angle=32.7,minimum width=2.5cm},
          every node/.style={concept, execute at begin node=\hskip0pt,font=\large\ttfamily}
          ]
          \node[root concept] {ebruni.it} [clockwise from=180]
          child[concept color=red] {node[concept] {www.}}
          child[concept color=red] {node[concept] {info@}}
          child[concept color=red] {node[concept] {facebook.}}
          child[concept color=red] {node[concept] { linkedin.}}
          child[concept color=red] {node[concept] { twitter.}}
          child[concept color=red] {node[concept] {vimeo.}}
          child[concept color=red] {node[concept] { tumblr.}}
          child[concept color=red] {node[concept] {qik.}}
          child[concept color=red] {node[concept] {picasa.}}
          child[concept color=red] {node[concept] {youtube.}}
          child[concept color=red] {node[concept] {flickr.}}
          ;
          \end{tikzpicture}
          `

          esempio compilabile del codice
          `
          http://blog.ebruni.it/blog/tag/tikz
          `

          Non capisco cosa tu intenda con “salta tutto”.
          A me il seguente codice (con colore e nome-filgio) cambiati non da’ problemi:
          `\documentclass[tikz]{standalone}
          \standaloneconfig{crop=true,border={1em 5em 5em 1em}}
          \usepackage[T1]{fontenc}
          \usepackage[utf8]{inputenc}
          \usepackage{geometry}
          \geometry{a4paper}
          \usepackage{tikz}
          \usetikzlibrary{mindmap,calendar,backgrounds,shadows}

          \begin{document}

          \begin{tikzpicture}
          [
          mindmap,
          concept color=red,
          root concept/.append style={fill=white, line width=1ex,text=black,font=\large\ttfamily},
          level 1 concept/.append style={sibling angle=32.7,minimum width=2.5cm},
          every node/.style={concept, execute at begin node=\hskip0pt,font=\large\ttfamily}
          ]
          \node[root concept] {ebruni.it} [clockwise from=180]
          child[concept color=blue] {node[concept] {www.}}
          child[concept color=red] {node[concept] {gino paolino}}
          child[concept color=red] {node[concept] {facebook.}}
          child[concept color=red] {node[concept] { linkedin.}}
          child[concept color=red] {node[concept] { twitter.}}
          child[concept color=red] {node[concept] {vimeo.}}
          child[concept color=red] {node[concept] { tumblr.}}
          child[concept color=red] {node[concept] {qik.}}
          child[concept color=red] {node[concept] {picasa.}}
          child[concept color=red] {node[concept] {youtube.}}
          child[concept color=red] {node[concept] {flickr.}}
          ;
          \end{tikzpicture}

          % Further ’tikzpicture’ environments are possible which will create further pages.
          \end{document}`
          Saluti

        • #94124
          Up
          0
          Down
          ::


          ho aggiornato il mio codice (presa dalla mia tesi, metto in spoiler)

          Spoiler

          `
          \begin{tikzpicture}
          [
          mindmap,
          concept color=blue,
          root concept/.append style={fill=blue, line width=1ex,text=white,font=\large\ttfamily},
          level 1 concept/.append style={sibling angle=32.7,minimum width=2.5cm},
          every node/.style={concept, execute at begin node=\hskip0pt,font=\large\ttfamily}
          ]
          \node[root concept] {Digital Forensic} [clockwise from=60]
          child[concept color=red!70!black, text=white] {node[concept] {Computer Forensic}}
          child[concept color=red!70!black, text=white] {node[concept] {Risposta agli incidenti}}
          child[concept color=red!70!black, text=white] {node[concept] {Smartphone Forensic}}
          child[concept color=red!70!black, text=white] {node[concept] {GPS Forensic}}
          child[concept color=red!70!black, text=white] {node[concept] {Media Forensic}}
          child[concept color=red!70!black, text=white] {node[concept] {Social Media Forensic}}
          child[concept color=red!70!black, text=white] {node[concept] {Video, Foto e audio forensi.}}
          child[concept color=red!70!black, text=white] {node[concept] {Analisi forense di una fotocamera}}
          child[concept color=red!70!black, text=white] {node[concept] {Multiplayer Forensic}}
          child[concept color=red!70!black, text=white] {node[concept] {Console Forensic}}
          ;
          \end{tikzpicture}
          `

          i problemi sono i seguenti:
          – come ridimensionare il testo dei “child” così da farli star dentro meglio?
          – come ordinare i “child” senza lascaire quel buco in alto a sinisra? considerare che computer forensic deve stare a mezzogiorno 🙂

        • #94125
          alegenn
          Partecipante
            Up
            0
            Down
            ::

            light kira” post=93711ho aggiornato il mio codice (presa dalla mia tesi, metto in spoiler)

            Spoiler

            `
            \begin{tikzpicture}
            [
            mindmap,
            concept color=blue,
            root concept/.append style={fill=blue, line width=1ex,text=white,font=\large\ttfamily},
            level 1 concept/.append style={sibling angle=32.7,minimum width=2.5cm},
            every node/.style={concept, execute at begin node=\hskip0pt,font=\large\ttfamily}
            ]
            \node[root concept] {Digital Forensic} [clockwise from=60]
            child[concept color=red!70!black, text=white] {node[concept] {Computer Forensic}}
            child[concept color=red!70!black, text=white] {node[concept] {Risposta agli incidenti}}
            child[concept color=red!70!black, text=white] {node[concept] {Smartphone Forensic}}
            child[concept color=red!70!black, text=white] {node[concept] {GPS Forensic}}
            child[concept color=red!70!black, text=white] {node[concept] {Media Forensic}}
            child[concept color=red!70!black, text=white] {node[concept] {Social Media Forensic}}
            child[concept color=red!70!black, text=white] {node[concept] {Video, Foto e audio forensi.}}
            child[concept color=red!70!black, text=white] {node[concept] {Analisi forense di una fotocamera}}
            child[concept color=red!70!black, text=white] {node[concept] {Multiplayer Forensic}}
            child[concept color=red!70!black, text=white] {node[concept] {Console Forensic}}
            ;
            \end{tikzpicture}
            `

            i problemi sono i seguenti:
            – come ridimensionare il testo dei “child” così da farli star dentro meglio?
            – come ordinare i “child” senza lascaire quel buco in alto a sinisra? considerare che computer forensic deve stare a mezzogiorno 🙂

            Ciao,
            modifica il tuo codice con:
            `{sibling angle=36,minimum width=2.9cm},`
            Saluti

          • #94126
            Up
            0
            Down
            ::


            perfetto!! 👿

        Visualizzazione 4 filoni di risposte
        • Devi essere connesso per rispondere a questo topic.

        Go to top