Change the color of a tikz tree to blue

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












begincenter

begintikzpicture[ level 1/.style=sibling distance=40mm, edge from parent/.style=->,draw,
>=latex]
node[root] Compresseur child node[level 2] (c2) Compresseur rotatif child node[level 2] (c3) Compresseur alternatif;

beginscope[every node/.style=level 3]
node [below of = c2, xshift=15pt] (c21) Centrifuge; node [below of
= c21] (c22) Axial; node [below of = c22] (c23) A palettes; node [below of = c23] (c24) A vis; node [below of = c24] (c25) Scroll; node [below of = c24] (c25) A lobes;
node [below of = c3, xshift=15pt] (c31) A piston; node [below of = c31] (c32) Hydrolique;
endscope

foreach value in 1,...,5 draw[->] (c2.195) |- (c2value.west);
foreach value in 1,2 draw[->] (c3.195) |- (c3value.west); endtikzpicture
endcenter


enter image description here










share|improve this question



















  • 3




    your code is not compileable
    – AndréC
    2 hours ago














up vote
1
down vote

favorite












begincenter

begintikzpicture[ level 1/.style=sibling distance=40mm, edge from parent/.style=->,draw,
>=latex]
node[root] Compresseur child node[level 2] (c2) Compresseur rotatif child node[level 2] (c3) Compresseur alternatif;

beginscope[every node/.style=level 3]
node [below of = c2, xshift=15pt] (c21) Centrifuge; node [below of
= c21] (c22) Axial; node [below of = c22] (c23) A palettes; node [below of = c23] (c24) A vis; node [below of = c24] (c25) Scroll; node [below of = c24] (c25) A lobes;
node [below of = c3, xshift=15pt] (c31) A piston; node [below of = c31] (c32) Hydrolique;
endscope

foreach value in 1,...,5 draw[->] (c2.195) |- (c2value.west);
foreach value in 1,2 draw[->] (c3.195) |- (c3value.west); endtikzpicture
endcenter


enter image description here










share|improve this question



















  • 3




    your code is not compileable
    – AndréC
    2 hours ago












up vote
1
down vote

favorite









up vote
1
down vote

favorite











begincenter

begintikzpicture[ level 1/.style=sibling distance=40mm, edge from parent/.style=->,draw,
>=latex]
node[root] Compresseur child node[level 2] (c2) Compresseur rotatif child node[level 2] (c3) Compresseur alternatif;

beginscope[every node/.style=level 3]
node [below of = c2, xshift=15pt] (c21) Centrifuge; node [below of
= c21] (c22) Axial; node [below of = c22] (c23) A palettes; node [below of = c23] (c24) A vis; node [below of = c24] (c25) Scroll; node [below of = c24] (c25) A lobes;
node [below of = c3, xshift=15pt] (c31) A piston; node [below of = c31] (c32) Hydrolique;
endscope

foreach value in 1,...,5 draw[->] (c2.195) |- (c2value.west);
foreach value in 1,2 draw[->] (c3.195) |- (c3value.west); endtikzpicture
endcenter


enter image description here










share|improve this question















begincenter

begintikzpicture[ level 1/.style=sibling distance=40mm, edge from parent/.style=->,draw,
>=latex]
node[root] Compresseur child node[level 2] (c2) Compresseur rotatif child node[level 2] (c3) Compresseur alternatif;

beginscope[every node/.style=level 3]
node [below of = c2, xshift=15pt] (c21) Centrifuge; node [below of
= c21] (c22) Axial; node [below of = c22] (c23) A palettes; node [below of = c23] (c24) A vis; node [below of = c24] (c25) Scroll; node [below of = c24] (c25) A lobes;
node [below of = c3, xshift=15pt] (c31) A piston; node [below of = c31] (c32) Hydrolique;
endscope

foreach value in 1,...,5 draw[->] (c2.195) |- (c2value.west);
foreach value in 1,2 draw[->] (c3.195) |- (c3value.west); endtikzpicture
endcenter


enter image description here







color tikz-trees






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 1 hour ago









Werner

428k589381612




428k589381612










asked 2 hours ago









Mohamed Hasnaoui

213




213







  • 3




    your code is not compileable
    – AndréC
    2 hours ago












  • 3




    your code is not compileable
    – AndréC
    2 hours ago







3




3




your code is not compileable
– AndréC
2 hours ago




your code is not compileable
– AndréC
2 hours ago










1 Answer
1






active

oldest

votes

















up vote
3
down vote













This is not a full answer because the question is not very clear, let alone compilable. What do you want to turn blue? If it is the lines, look at



documentclassarticle
usepackagetikz
usetikzlibrarytrees,shadows
begindocument
begincenter

begintikzpicture[root/.style=rounded corners,draw,fill=green!50,
level 1/.style=sibling distance=40mm,
level 2/.style=sibling distance=40mm,rounded corners,draw,fill=green!80,
level 3/.style=sibling distance=40mm,draw,fill=red!30,
edge from parent/.style=->,draw,blue,
>=latex,every node/.append style=drop shadow,font=sffamily]

node[root] Compresseur child node[level 2] (c2)
Compresseur rotatif
child node[level 2] (c3) Compresseur alternatif;

beginscope[every node/.append style=level 3]
node [below of = c2, xshift=15pt] (c21) Centrifuge;
node [below of = c21] (c22) Axial;
node [below of = c22] (c23) A palettes;
node [below of = c23] (c24) A vis;
node [below of = c24] (c25) Scroll;
node [below of = c25] (c26) A lobes;

node [below of = c3, xshift=15pt] (c31) A piston;
node [below of = c31] (c32) Hydrolique;
endscope

foreach value in 1,...,6
draw[blue,->] (c2.195)

foreach value in 1,2
draw[blue,->] (c3.195)
endtikzpicture
endcenter
enddocument


enter image description here



Note that I had to guess the styles of the nodes as they are not part of your code.






share|improve this answer






















    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "85"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f458209%2fchange-the-color-of-a-tikz-tree-to-blue%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    3
    down vote













    This is not a full answer because the question is not very clear, let alone compilable. What do you want to turn blue? If it is the lines, look at



    documentclassarticle
    usepackagetikz
    usetikzlibrarytrees,shadows
    begindocument
    begincenter

    begintikzpicture[root/.style=rounded corners,draw,fill=green!50,
    level 1/.style=sibling distance=40mm,
    level 2/.style=sibling distance=40mm,rounded corners,draw,fill=green!80,
    level 3/.style=sibling distance=40mm,draw,fill=red!30,
    edge from parent/.style=->,draw,blue,
    >=latex,every node/.append style=drop shadow,font=sffamily]

    node[root] Compresseur child node[level 2] (c2)
    Compresseur rotatif
    child node[level 2] (c3) Compresseur alternatif;

    beginscope[every node/.append style=level 3]
    node [below of = c2, xshift=15pt] (c21) Centrifuge;
    node [below of = c21] (c22) Axial;
    node [below of = c22] (c23) A palettes;
    node [below of = c23] (c24) A vis;
    node [below of = c24] (c25) Scroll;
    node [below of = c25] (c26) A lobes;

    node [below of = c3, xshift=15pt] (c31) A piston;
    node [below of = c31] (c32) Hydrolique;
    endscope

    foreach value in 1,...,6
    draw[blue,->] (c2.195)

    foreach value in 1,2
    draw[blue,->] (c3.195)
    endtikzpicture
    endcenter
    enddocument


    enter image description here



    Note that I had to guess the styles of the nodes as they are not part of your code.






    share|improve this answer


























      up vote
      3
      down vote













      This is not a full answer because the question is not very clear, let alone compilable. What do you want to turn blue? If it is the lines, look at



      documentclassarticle
      usepackagetikz
      usetikzlibrarytrees,shadows
      begindocument
      begincenter

      begintikzpicture[root/.style=rounded corners,draw,fill=green!50,
      level 1/.style=sibling distance=40mm,
      level 2/.style=sibling distance=40mm,rounded corners,draw,fill=green!80,
      level 3/.style=sibling distance=40mm,draw,fill=red!30,
      edge from parent/.style=->,draw,blue,
      >=latex,every node/.append style=drop shadow,font=sffamily]

      node[root] Compresseur child node[level 2] (c2)
      Compresseur rotatif
      child node[level 2] (c3) Compresseur alternatif;

      beginscope[every node/.append style=level 3]
      node [below of = c2, xshift=15pt] (c21) Centrifuge;
      node [below of = c21] (c22) Axial;
      node [below of = c22] (c23) A palettes;
      node [below of = c23] (c24) A vis;
      node [below of = c24] (c25) Scroll;
      node [below of = c25] (c26) A lobes;

      node [below of = c3, xshift=15pt] (c31) A piston;
      node [below of = c31] (c32) Hydrolique;
      endscope

      foreach value in 1,...,6
      draw[blue,->] (c2.195)

      foreach value in 1,2
      draw[blue,->] (c3.195)
      endtikzpicture
      endcenter
      enddocument


      enter image description here



      Note that I had to guess the styles of the nodes as they are not part of your code.






      share|improve this answer
























        up vote
        3
        down vote










        up vote
        3
        down vote









        This is not a full answer because the question is not very clear, let alone compilable. What do you want to turn blue? If it is the lines, look at



        documentclassarticle
        usepackagetikz
        usetikzlibrarytrees,shadows
        begindocument
        begincenter

        begintikzpicture[root/.style=rounded corners,draw,fill=green!50,
        level 1/.style=sibling distance=40mm,
        level 2/.style=sibling distance=40mm,rounded corners,draw,fill=green!80,
        level 3/.style=sibling distance=40mm,draw,fill=red!30,
        edge from parent/.style=->,draw,blue,
        >=latex,every node/.append style=drop shadow,font=sffamily]

        node[root] Compresseur child node[level 2] (c2)
        Compresseur rotatif
        child node[level 2] (c3) Compresseur alternatif;

        beginscope[every node/.append style=level 3]
        node [below of = c2, xshift=15pt] (c21) Centrifuge;
        node [below of = c21] (c22) Axial;
        node [below of = c22] (c23) A palettes;
        node [below of = c23] (c24) A vis;
        node [below of = c24] (c25) Scroll;
        node [below of = c25] (c26) A lobes;

        node [below of = c3, xshift=15pt] (c31) A piston;
        node [below of = c31] (c32) Hydrolique;
        endscope

        foreach value in 1,...,6
        draw[blue,->] (c2.195)

        foreach value in 1,2
        draw[blue,->] (c3.195)
        endtikzpicture
        endcenter
        enddocument


        enter image description here



        Note that I had to guess the styles of the nodes as they are not part of your code.






        share|improve this answer














        This is not a full answer because the question is not very clear, let alone compilable. What do you want to turn blue? If it is the lines, look at



        documentclassarticle
        usepackagetikz
        usetikzlibrarytrees,shadows
        begindocument
        begincenter

        begintikzpicture[root/.style=rounded corners,draw,fill=green!50,
        level 1/.style=sibling distance=40mm,
        level 2/.style=sibling distance=40mm,rounded corners,draw,fill=green!80,
        level 3/.style=sibling distance=40mm,draw,fill=red!30,
        edge from parent/.style=->,draw,blue,
        >=latex,every node/.append style=drop shadow,font=sffamily]

        node[root] Compresseur child node[level 2] (c2)
        Compresseur rotatif
        child node[level 2] (c3) Compresseur alternatif;

        beginscope[every node/.append style=level 3]
        node [below of = c2, xshift=15pt] (c21) Centrifuge;
        node [below of = c21] (c22) Axial;
        node [below of = c22] (c23) A palettes;
        node [below of = c23] (c24) A vis;
        node [below of = c24] (c25) Scroll;
        node [below of = c25] (c26) A lobes;

        node [below of = c3, xshift=15pt] (c31) A piston;
        node [below of = c31] (c32) Hydrolique;
        endscope

        foreach value in 1,...,6
        draw[blue,->] (c2.195)

        foreach value in 1,2
        draw[blue,->] (c3.195)
        endtikzpicture
        endcenter
        enddocument


        enter image description here



        Note that I had to guess the styles of the nodes as they are not part of your code.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 2 hours ago

























        answered 2 hours ago









        marmot

        71.2k476151




        71.2k476151



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f458209%2fchange-the-color-of-a-tikz-tree-to-blue%23new-answer', 'question_page');

            );

            Post as a guest













































































            Comments

            Popular posts from this blog

            Long meetings (6-7 hours a day): Being “babysat” by supervisor

            Is the Concept of Multiple Fantasy Races Scientifically Flawed? [closed]

            Confectionery