Flowchart in tikz











up vote
4
down vote

favorite












I am completely new in tikz package and try to built a flowchart as on the picture. I made some attempts but with no succes. Could you give me a hint how to start to produce such flowchart? Thanks in advance, Marcinenter image description here










share|improve this question







New contributor




Marcin Szymkowiak is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 3




    Edit your question and add the code you wrote, so the help will be much more relevant.
    – AndréC
    Nov 12 at 19:32






  • 6




    Welcome to Tex.SE. Tell us what you have tried so far, with a minimum working example. See this also: texample.net/tikz/examples/feature/trees
    – nidhin
    Nov 12 at 19:32






  • 1




    You may have a look at texample.net/tikz/examples/feature/trees
    – Harald Lichtenstein
    Nov 12 at 21:07















up vote
4
down vote

favorite












I am completely new in tikz package and try to built a flowchart as on the picture. I made some attempts but with no succes. Could you give me a hint how to start to produce such flowchart? Thanks in advance, Marcinenter image description here










share|improve this question







New contributor




Marcin Szymkowiak is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 3




    Edit your question and add the code you wrote, so the help will be much more relevant.
    – AndréC
    Nov 12 at 19:32






  • 6




    Welcome to Tex.SE. Tell us what you have tried so far, with a minimum working example. See this also: texample.net/tikz/examples/feature/trees
    – nidhin
    Nov 12 at 19:32






  • 1




    You may have a look at texample.net/tikz/examples/feature/trees
    – Harald Lichtenstein
    Nov 12 at 21:07













up vote
4
down vote

favorite









up vote
4
down vote

favorite











I am completely new in tikz package and try to built a flowchart as on the picture. I made some attempts but with no succes. Could you give me a hint how to start to produce such flowchart? Thanks in advance, Marcinenter image description here










share|improve this question







New contributor




Marcin Szymkowiak is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I am completely new in tikz package and try to built a flowchart as on the picture. I made some attempts but with no succes. Could you give me a hint how to start to produce such flowchart? Thanks in advance, Marcinenter image description here







tikz-shape






share|improve this question







New contributor




Marcin Szymkowiak is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




Marcin Szymkowiak is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




Marcin Szymkowiak is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Nov 12 at 19:25









Marcin Szymkowiak

415




415




New contributor




Marcin Szymkowiak is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Marcin Szymkowiak is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Marcin Szymkowiak is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








  • 3




    Edit your question and add the code you wrote, so the help will be much more relevant.
    – AndréC
    Nov 12 at 19:32






  • 6




    Welcome to Tex.SE. Tell us what you have tried so far, with a minimum working example. See this also: texample.net/tikz/examples/feature/trees
    – nidhin
    Nov 12 at 19:32






  • 1




    You may have a look at texample.net/tikz/examples/feature/trees
    – Harald Lichtenstein
    Nov 12 at 21:07














  • 3




    Edit your question and add the code you wrote, so the help will be much more relevant.
    – AndréC
    Nov 12 at 19:32






  • 6




    Welcome to Tex.SE. Tell us what you have tried so far, with a minimum working example. See this also: texample.net/tikz/examples/feature/trees
    – nidhin
    Nov 12 at 19:32






  • 1




    You may have a look at texample.net/tikz/examples/feature/trees
    – Harald Lichtenstein
    Nov 12 at 21:07








3




3




Edit your question and add the code you wrote, so the help will be much more relevant.
– AndréC
Nov 12 at 19:32




Edit your question and add the code you wrote, so the help will be much more relevant.
– AndréC
Nov 12 at 19:32




6




6




Welcome to Tex.SE. Tell us what you have tried so far, with a minimum working example. See this also: texample.net/tikz/examples/feature/trees
– nidhin
Nov 12 at 19:32




Welcome to Tex.SE. Tell us what you have tried so far, with a minimum working example. See this also: texample.net/tikz/examples/feature/trees
– nidhin
Nov 12 at 19:32




1




1




You may have a look at texample.net/tikz/examples/feature/trees
– Harald Lichtenstein
Nov 12 at 21:07




You may have a look at texample.net/tikz/examples/feature/trees
– Harald Lichtenstein
Nov 12 at 21:07










2 Answers
2






active

oldest

votes

















up vote
3
down vote













Look if this fits to you. The kernel is the command (n1-|n2) which means "the point n2 projected on the horizontal line passing through n1", so you can make the middle step to have a flowchart style.



documentclass[border=5mm]{standalone}

usepackage{tikz}
usetikzlibrary{calc}

begin{document}
begin{tikzpicture}
node[rectangle, draw, minimum width=12mm, minimum height=7mm] (n1) at (0, 0) {n1};
node[rectangle, draw] (n2) at ($(n1) + (1, 2)$) {n2};
node[rectangle, draw, minimum width=15mm, minimum height=3mm] (n3) at ($(n2) + (1, 2)$) {n3};
node[rectangle, draw] (n4) at ($(n2) + (1, -1)$) {n4};
node[rectangle, draw] (n5) at ($(n4) + (2, 0)$) {n5};
draw (n1) to (n1-|n2) to (n2);
draw (n2) to (n2-|n3) to (n3);
draw (n2) to (n2-|n4) to (n4);
draw (n4) to (n5);
end{tikzpicture}
end{document}


enter image description here






share|improve this answer






























    up vote
    2
    down vote













    Finally, thanks to your support, I solved this problem. Here's the code for the solution to my answer.



    documentclass[border=5mm]{standalone}

    usepackage{tikz}
    usetikzlibrary{calc}


    begin{document}

    scalebox{0.52}{
    begin{tikzpicture}
    [
    mynode/.style={rectangle, draw, align=center, text width =3cm ,minimum width=3cm, minimum height=1cm}
    ]
    node[mynode] (a) at ($(0, 0)$) {Text 1};
    node[mynode] (b1) at ($(a) + (4, 3.5)$) {Text 2};
    node[mynode] (b2) at ($(a) + (4,-2.1)$) {Text 3};
    node[mynode] (b3) at ($(a) + (4,-3.5)$) {Text 4};
    node[mynode] (c1) at ($(a) + (8,4.2)$) {Text 5};
    node[mynode] (c2) at ($(a) + (8,2.8)$) {Text 6};
    node[mynode] (c3) at ($(a) + (8,1.4)$) {Text 7};
    node[mynode] (c4) at ($(a) + (8,-5.6)$) {Text 8};
    node[mynode] (d1) at ($(a) + (12,3.5)$) {Text 9};
    node[mynode] (d2) at ($(a) + (12,-0.7)$) {Text 10};
    node[mynode] (d3) at ($(a) + (12,-4.9)$) {Text 11};
    node[mynode] (d4) at ($(a) + (12,-6.3)$) {Text 12};
    node[mynode] (e1) at ($(a) + (16,4.9)$) {Text 13};
    node[mynode] (e2) at ($(a) + (16,3.5)$) {Text 14};
    node[mynode] (e3) at ($(a) + (16,2.1)$) {Text 15};
    node[mynode] (e4) at ($(a) + (16,0.7)$) {Text 16};
    node[mynode] (e5) at ($(a) + (16,-0.7)$) {Text 17};
    node[mynode] (e6) at ($(a) + (16,-2.1)$) {Text 18};
    node[mynode] (e7) at ($(a) + (16,-3.5)$) {Text 19};
    node[mynode] (e8) at ($(a) + (16,-6.3)$) {Text 20};
    node[mynode] (f1) at ($(a) + (20,-2.8)$) {Text 21};
    node[mynode] (f2) at ($(a) + (20,-4.2)$) {Text 22};
    node[mynode] (f3) at ($(a) + (20,-5.6)$) {Text 23};
    node[mynode] (f4) at ($(a) + (20,-7)$) {Text 24};

    draw (a) -| ($(a)!.5!(b1)$) |- (b1);
    draw (a) -| ($(a)!.5!(b2)$) |- (b2);
    draw (a) -| ($(a)!.5!(b3)$) |- (b3);
    draw (b1) -| ($(b1)!.5!(c1)$) |- (c1);
    draw (b1) -| ($(b1)!.5!(c2)$) |- (c2);
    draw (b2) -| ($(b2)!.5!(c3)$) |- (c3);
    draw (b2) -| ($(b2)!.5!(c4)$) |- (c4);
    draw (c3) -| ($(c3)!.5!(d1)$) |- (d1);
    draw (c3) -| ($(c3)!.5!(d2)$) |- (d2);
    draw (c4) -| ($(c4)!.5!(d3)$) |- (d3);
    draw (c4) -| ($(c4)!.5!(d4)$) |- (d4);
    draw (d1) -| ($(d1)!.5!(e1)$) |- (e1);
    draw (d1) -| ($(d1)!.5!(e2)$) |- (e2);
    draw (d1) -| ($(d1)!.5!(e3)$) |- (e3);
    draw (d2) -| ($(d2)!.5!(e4)$) |- (e4);
    draw (d2) -| ($(d2)!.5!(e5)$) |- (e5);
    draw (d2) -| ($(d2)!.5!(e6)$) |- (e6);
    draw (d3) -| ($(d3)!.5!(e7)$) |- (e7);
    draw (d3) -| ($(d3)!.5!(e8)$) |- (e8);
    draw (e7) -| ($(e7)!.5!(f1)$) |- (f1);
    draw (e7) -| ($(e7)!.5!(f2)$) |- (f2);
    draw (e8) -| ($(e8)!.5!(f3)$) |- (f3);
    draw (e8) -| ($(e8)!.5!(f4)$) |- (f4);
    end{tikzpicture}
    }
    end{document}


    which output is



    enter image description here






    share|improve this answer










    New contributor




    Marcin Szymkowiak is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.














    • 1




      Please add the image of the flow-chart you generated. I would appreciate it.
      – nidhin
      2 days ago










    • @nidhin I added for you, take a look
      – GiuTeX
      2 days ago










    • +1. Thanks. Now the answer is complete.
      – nidhin
      2 days ago











    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
    });


    }
    });






    Marcin Szymkowiak is a new contributor. Be nice, and check out our Code of Conduct.










     

    draft saved


    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f459677%2fflowchart-in-tikz%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    3
    down vote













    Look if this fits to you. The kernel is the command (n1-|n2) which means "the point n2 projected on the horizontal line passing through n1", so you can make the middle step to have a flowchart style.



    documentclass[border=5mm]{standalone}

    usepackage{tikz}
    usetikzlibrary{calc}

    begin{document}
    begin{tikzpicture}
    node[rectangle, draw, minimum width=12mm, minimum height=7mm] (n1) at (0, 0) {n1};
    node[rectangle, draw] (n2) at ($(n1) + (1, 2)$) {n2};
    node[rectangle, draw, minimum width=15mm, minimum height=3mm] (n3) at ($(n2) + (1, 2)$) {n3};
    node[rectangle, draw] (n4) at ($(n2) + (1, -1)$) {n4};
    node[rectangle, draw] (n5) at ($(n4) + (2, 0)$) {n5};
    draw (n1) to (n1-|n2) to (n2);
    draw (n2) to (n2-|n3) to (n3);
    draw (n2) to (n2-|n4) to (n4);
    draw (n4) to (n5);
    end{tikzpicture}
    end{document}


    enter image description here






    share|improve this answer



























      up vote
      3
      down vote













      Look if this fits to you. The kernel is the command (n1-|n2) which means "the point n2 projected on the horizontal line passing through n1", so you can make the middle step to have a flowchart style.



      documentclass[border=5mm]{standalone}

      usepackage{tikz}
      usetikzlibrary{calc}

      begin{document}
      begin{tikzpicture}
      node[rectangle, draw, minimum width=12mm, minimum height=7mm] (n1) at (0, 0) {n1};
      node[rectangle, draw] (n2) at ($(n1) + (1, 2)$) {n2};
      node[rectangle, draw, minimum width=15mm, minimum height=3mm] (n3) at ($(n2) + (1, 2)$) {n3};
      node[rectangle, draw] (n4) at ($(n2) + (1, -1)$) {n4};
      node[rectangle, draw] (n5) at ($(n4) + (2, 0)$) {n5};
      draw (n1) to (n1-|n2) to (n2);
      draw (n2) to (n2-|n3) to (n3);
      draw (n2) to (n2-|n4) to (n4);
      draw (n4) to (n5);
      end{tikzpicture}
      end{document}


      enter image description here






      share|improve this answer

























        up vote
        3
        down vote










        up vote
        3
        down vote









        Look if this fits to you. The kernel is the command (n1-|n2) which means "the point n2 projected on the horizontal line passing through n1", so you can make the middle step to have a flowchart style.



        documentclass[border=5mm]{standalone}

        usepackage{tikz}
        usetikzlibrary{calc}

        begin{document}
        begin{tikzpicture}
        node[rectangle, draw, minimum width=12mm, minimum height=7mm] (n1) at (0, 0) {n1};
        node[rectangle, draw] (n2) at ($(n1) + (1, 2)$) {n2};
        node[rectangle, draw, minimum width=15mm, minimum height=3mm] (n3) at ($(n2) + (1, 2)$) {n3};
        node[rectangle, draw] (n4) at ($(n2) + (1, -1)$) {n4};
        node[rectangle, draw] (n5) at ($(n4) + (2, 0)$) {n5};
        draw (n1) to (n1-|n2) to (n2);
        draw (n2) to (n2-|n3) to (n3);
        draw (n2) to (n2-|n4) to (n4);
        draw (n4) to (n5);
        end{tikzpicture}
        end{document}


        enter image description here






        share|improve this answer














        Look if this fits to you. The kernel is the command (n1-|n2) which means "the point n2 projected on the horizontal line passing through n1", so you can make the middle step to have a flowchart style.



        documentclass[border=5mm]{standalone}

        usepackage{tikz}
        usetikzlibrary{calc}

        begin{document}
        begin{tikzpicture}
        node[rectangle, draw, minimum width=12mm, minimum height=7mm] (n1) at (0, 0) {n1};
        node[rectangle, draw] (n2) at ($(n1) + (1, 2)$) {n2};
        node[rectangle, draw, minimum width=15mm, minimum height=3mm] (n3) at ($(n2) + (1, 2)$) {n3};
        node[rectangle, draw] (n4) at ($(n2) + (1, -1)$) {n4};
        node[rectangle, draw] (n5) at ($(n4) + (2, 0)$) {n5};
        draw (n1) to (n1-|n2) to (n2);
        draw (n2) to (n2-|n3) to (n3);
        draw (n2) to (n2-|n4) to (n4);
        draw (n4) to (n5);
        end{tikzpicture}
        end{document}


        enter image description here







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Nov 12 at 19:56

























        answered Nov 12 at 19:50









        GiuTeX

        644216




        644216






















            up vote
            2
            down vote













            Finally, thanks to your support, I solved this problem. Here's the code for the solution to my answer.



            documentclass[border=5mm]{standalone}

            usepackage{tikz}
            usetikzlibrary{calc}


            begin{document}

            scalebox{0.52}{
            begin{tikzpicture}
            [
            mynode/.style={rectangle, draw, align=center, text width =3cm ,minimum width=3cm, minimum height=1cm}
            ]
            node[mynode] (a) at ($(0, 0)$) {Text 1};
            node[mynode] (b1) at ($(a) + (4, 3.5)$) {Text 2};
            node[mynode] (b2) at ($(a) + (4,-2.1)$) {Text 3};
            node[mynode] (b3) at ($(a) + (4,-3.5)$) {Text 4};
            node[mynode] (c1) at ($(a) + (8,4.2)$) {Text 5};
            node[mynode] (c2) at ($(a) + (8,2.8)$) {Text 6};
            node[mynode] (c3) at ($(a) + (8,1.4)$) {Text 7};
            node[mynode] (c4) at ($(a) + (8,-5.6)$) {Text 8};
            node[mynode] (d1) at ($(a) + (12,3.5)$) {Text 9};
            node[mynode] (d2) at ($(a) + (12,-0.7)$) {Text 10};
            node[mynode] (d3) at ($(a) + (12,-4.9)$) {Text 11};
            node[mynode] (d4) at ($(a) + (12,-6.3)$) {Text 12};
            node[mynode] (e1) at ($(a) + (16,4.9)$) {Text 13};
            node[mynode] (e2) at ($(a) + (16,3.5)$) {Text 14};
            node[mynode] (e3) at ($(a) + (16,2.1)$) {Text 15};
            node[mynode] (e4) at ($(a) + (16,0.7)$) {Text 16};
            node[mynode] (e5) at ($(a) + (16,-0.7)$) {Text 17};
            node[mynode] (e6) at ($(a) + (16,-2.1)$) {Text 18};
            node[mynode] (e7) at ($(a) + (16,-3.5)$) {Text 19};
            node[mynode] (e8) at ($(a) + (16,-6.3)$) {Text 20};
            node[mynode] (f1) at ($(a) + (20,-2.8)$) {Text 21};
            node[mynode] (f2) at ($(a) + (20,-4.2)$) {Text 22};
            node[mynode] (f3) at ($(a) + (20,-5.6)$) {Text 23};
            node[mynode] (f4) at ($(a) + (20,-7)$) {Text 24};

            draw (a) -| ($(a)!.5!(b1)$) |- (b1);
            draw (a) -| ($(a)!.5!(b2)$) |- (b2);
            draw (a) -| ($(a)!.5!(b3)$) |- (b3);
            draw (b1) -| ($(b1)!.5!(c1)$) |- (c1);
            draw (b1) -| ($(b1)!.5!(c2)$) |- (c2);
            draw (b2) -| ($(b2)!.5!(c3)$) |- (c3);
            draw (b2) -| ($(b2)!.5!(c4)$) |- (c4);
            draw (c3) -| ($(c3)!.5!(d1)$) |- (d1);
            draw (c3) -| ($(c3)!.5!(d2)$) |- (d2);
            draw (c4) -| ($(c4)!.5!(d3)$) |- (d3);
            draw (c4) -| ($(c4)!.5!(d4)$) |- (d4);
            draw (d1) -| ($(d1)!.5!(e1)$) |- (e1);
            draw (d1) -| ($(d1)!.5!(e2)$) |- (e2);
            draw (d1) -| ($(d1)!.5!(e3)$) |- (e3);
            draw (d2) -| ($(d2)!.5!(e4)$) |- (e4);
            draw (d2) -| ($(d2)!.5!(e5)$) |- (e5);
            draw (d2) -| ($(d2)!.5!(e6)$) |- (e6);
            draw (d3) -| ($(d3)!.5!(e7)$) |- (e7);
            draw (d3) -| ($(d3)!.5!(e8)$) |- (e8);
            draw (e7) -| ($(e7)!.5!(f1)$) |- (f1);
            draw (e7) -| ($(e7)!.5!(f2)$) |- (f2);
            draw (e8) -| ($(e8)!.5!(f3)$) |- (f3);
            draw (e8) -| ($(e8)!.5!(f4)$) |- (f4);
            end{tikzpicture}
            }
            end{document}


            which output is



            enter image description here






            share|improve this answer










            New contributor




            Marcin Szymkowiak is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.














            • 1




              Please add the image of the flow-chart you generated. I would appreciate it.
              – nidhin
              2 days ago










            • @nidhin I added for you, take a look
              – GiuTeX
              2 days ago










            • +1. Thanks. Now the answer is complete.
              – nidhin
              2 days ago















            up vote
            2
            down vote













            Finally, thanks to your support, I solved this problem. Here's the code for the solution to my answer.



            documentclass[border=5mm]{standalone}

            usepackage{tikz}
            usetikzlibrary{calc}


            begin{document}

            scalebox{0.52}{
            begin{tikzpicture}
            [
            mynode/.style={rectangle, draw, align=center, text width =3cm ,minimum width=3cm, minimum height=1cm}
            ]
            node[mynode] (a) at ($(0, 0)$) {Text 1};
            node[mynode] (b1) at ($(a) + (4, 3.5)$) {Text 2};
            node[mynode] (b2) at ($(a) + (4,-2.1)$) {Text 3};
            node[mynode] (b3) at ($(a) + (4,-3.5)$) {Text 4};
            node[mynode] (c1) at ($(a) + (8,4.2)$) {Text 5};
            node[mynode] (c2) at ($(a) + (8,2.8)$) {Text 6};
            node[mynode] (c3) at ($(a) + (8,1.4)$) {Text 7};
            node[mynode] (c4) at ($(a) + (8,-5.6)$) {Text 8};
            node[mynode] (d1) at ($(a) + (12,3.5)$) {Text 9};
            node[mynode] (d2) at ($(a) + (12,-0.7)$) {Text 10};
            node[mynode] (d3) at ($(a) + (12,-4.9)$) {Text 11};
            node[mynode] (d4) at ($(a) + (12,-6.3)$) {Text 12};
            node[mynode] (e1) at ($(a) + (16,4.9)$) {Text 13};
            node[mynode] (e2) at ($(a) + (16,3.5)$) {Text 14};
            node[mynode] (e3) at ($(a) + (16,2.1)$) {Text 15};
            node[mynode] (e4) at ($(a) + (16,0.7)$) {Text 16};
            node[mynode] (e5) at ($(a) + (16,-0.7)$) {Text 17};
            node[mynode] (e6) at ($(a) + (16,-2.1)$) {Text 18};
            node[mynode] (e7) at ($(a) + (16,-3.5)$) {Text 19};
            node[mynode] (e8) at ($(a) + (16,-6.3)$) {Text 20};
            node[mynode] (f1) at ($(a) + (20,-2.8)$) {Text 21};
            node[mynode] (f2) at ($(a) + (20,-4.2)$) {Text 22};
            node[mynode] (f3) at ($(a) + (20,-5.6)$) {Text 23};
            node[mynode] (f4) at ($(a) + (20,-7)$) {Text 24};

            draw (a) -| ($(a)!.5!(b1)$) |- (b1);
            draw (a) -| ($(a)!.5!(b2)$) |- (b2);
            draw (a) -| ($(a)!.5!(b3)$) |- (b3);
            draw (b1) -| ($(b1)!.5!(c1)$) |- (c1);
            draw (b1) -| ($(b1)!.5!(c2)$) |- (c2);
            draw (b2) -| ($(b2)!.5!(c3)$) |- (c3);
            draw (b2) -| ($(b2)!.5!(c4)$) |- (c4);
            draw (c3) -| ($(c3)!.5!(d1)$) |- (d1);
            draw (c3) -| ($(c3)!.5!(d2)$) |- (d2);
            draw (c4) -| ($(c4)!.5!(d3)$) |- (d3);
            draw (c4) -| ($(c4)!.5!(d4)$) |- (d4);
            draw (d1) -| ($(d1)!.5!(e1)$) |- (e1);
            draw (d1) -| ($(d1)!.5!(e2)$) |- (e2);
            draw (d1) -| ($(d1)!.5!(e3)$) |- (e3);
            draw (d2) -| ($(d2)!.5!(e4)$) |- (e4);
            draw (d2) -| ($(d2)!.5!(e5)$) |- (e5);
            draw (d2) -| ($(d2)!.5!(e6)$) |- (e6);
            draw (d3) -| ($(d3)!.5!(e7)$) |- (e7);
            draw (d3) -| ($(d3)!.5!(e8)$) |- (e8);
            draw (e7) -| ($(e7)!.5!(f1)$) |- (f1);
            draw (e7) -| ($(e7)!.5!(f2)$) |- (f2);
            draw (e8) -| ($(e8)!.5!(f3)$) |- (f3);
            draw (e8) -| ($(e8)!.5!(f4)$) |- (f4);
            end{tikzpicture}
            }
            end{document}


            which output is



            enter image description here






            share|improve this answer










            New contributor




            Marcin Szymkowiak is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.














            • 1




              Please add the image of the flow-chart you generated. I would appreciate it.
              – nidhin
              2 days ago










            • @nidhin I added for you, take a look
              – GiuTeX
              2 days ago










            • +1. Thanks. Now the answer is complete.
              – nidhin
              2 days ago













            up vote
            2
            down vote










            up vote
            2
            down vote









            Finally, thanks to your support, I solved this problem. Here's the code for the solution to my answer.



            documentclass[border=5mm]{standalone}

            usepackage{tikz}
            usetikzlibrary{calc}


            begin{document}

            scalebox{0.52}{
            begin{tikzpicture}
            [
            mynode/.style={rectangle, draw, align=center, text width =3cm ,minimum width=3cm, minimum height=1cm}
            ]
            node[mynode] (a) at ($(0, 0)$) {Text 1};
            node[mynode] (b1) at ($(a) + (4, 3.5)$) {Text 2};
            node[mynode] (b2) at ($(a) + (4,-2.1)$) {Text 3};
            node[mynode] (b3) at ($(a) + (4,-3.5)$) {Text 4};
            node[mynode] (c1) at ($(a) + (8,4.2)$) {Text 5};
            node[mynode] (c2) at ($(a) + (8,2.8)$) {Text 6};
            node[mynode] (c3) at ($(a) + (8,1.4)$) {Text 7};
            node[mynode] (c4) at ($(a) + (8,-5.6)$) {Text 8};
            node[mynode] (d1) at ($(a) + (12,3.5)$) {Text 9};
            node[mynode] (d2) at ($(a) + (12,-0.7)$) {Text 10};
            node[mynode] (d3) at ($(a) + (12,-4.9)$) {Text 11};
            node[mynode] (d4) at ($(a) + (12,-6.3)$) {Text 12};
            node[mynode] (e1) at ($(a) + (16,4.9)$) {Text 13};
            node[mynode] (e2) at ($(a) + (16,3.5)$) {Text 14};
            node[mynode] (e3) at ($(a) + (16,2.1)$) {Text 15};
            node[mynode] (e4) at ($(a) + (16,0.7)$) {Text 16};
            node[mynode] (e5) at ($(a) + (16,-0.7)$) {Text 17};
            node[mynode] (e6) at ($(a) + (16,-2.1)$) {Text 18};
            node[mynode] (e7) at ($(a) + (16,-3.5)$) {Text 19};
            node[mynode] (e8) at ($(a) + (16,-6.3)$) {Text 20};
            node[mynode] (f1) at ($(a) + (20,-2.8)$) {Text 21};
            node[mynode] (f2) at ($(a) + (20,-4.2)$) {Text 22};
            node[mynode] (f3) at ($(a) + (20,-5.6)$) {Text 23};
            node[mynode] (f4) at ($(a) + (20,-7)$) {Text 24};

            draw (a) -| ($(a)!.5!(b1)$) |- (b1);
            draw (a) -| ($(a)!.5!(b2)$) |- (b2);
            draw (a) -| ($(a)!.5!(b3)$) |- (b3);
            draw (b1) -| ($(b1)!.5!(c1)$) |- (c1);
            draw (b1) -| ($(b1)!.5!(c2)$) |- (c2);
            draw (b2) -| ($(b2)!.5!(c3)$) |- (c3);
            draw (b2) -| ($(b2)!.5!(c4)$) |- (c4);
            draw (c3) -| ($(c3)!.5!(d1)$) |- (d1);
            draw (c3) -| ($(c3)!.5!(d2)$) |- (d2);
            draw (c4) -| ($(c4)!.5!(d3)$) |- (d3);
            draw (c4) -| ($(c4)!.5!(d4)$) |- (d4);
            draw (d1) -| ($(d1)!.5!(e1)$) |- (e1);
            draw (d1) -| ($(d1)!.5!(e2)$) |- (e2);
            draw (d1) -| ($(d1)!.5!(e3)$) |- (e3);
            draw (d2) -| ($(d2)!.5!(e4)$) |- (e4);
            draw (d2) -| ($(d2)!.5!(e5)$) |- (e5);
            draw (d2) -| ($(d2)!.5!(e6)$) |- (e6);
            draw (d3) -| ($(d3)!.5!(e7)$) |- (e7);
            draw (d3) -| ($(d3)!.5!(e8)$) |- (e8);
            draw (e7) -| ($(e7)!.5!(f1)$) |- (f1);
            draw (e7) -| ($(e7)!.5!(f2)$) |- (f2);
            draw (e8) -| ($(e8)!.5!(f3)$) |- (f3);
            draw (e8) -| ($(e8)!.5!(f4)$) |- (f4);
            end{tikzpicture}
            }
            end{document}


            which output is



            enter image description here






            share|improve this answer










            New contributor




            Marcin Szymkowiak is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.









            Finally, thanks to your support, I solved this problem. Here's the code for the solution to my answer.



            documentclass[border=5mm]{standalone}

            usepackage{tikz}
            usetikzlibrary{calc}


            begin{document}

            scalebox{0.52}{
            begin{tikzpicture}
            [
            mynode/.style={rectangle, draw, align=center, text width =3cm ,minimum width=3cm, minimum height=1cm}
            ]
            node[mynode] (a) at ($(0, 0)$) {Text 1};
            node[mynode] (b1) at ($(a) + (4, 3.5)$) {Text 2};
            node[mynode] (b2) at ($(a) + (4,-2.1)$) {Text 3};
            node[mynode] (b3) at ($(a) + (4,-3.5)$) {Text 4};
            node[mynode] (c1) at ($(a) + (8,4.2)$) {Text 5};
            node[mynode] (c2) at ($(a) + (8,2.8)$) {Text 6};
            node[mynode] (c3) at ($(a) + (8,1.4)$) {Text 7};
            node[mynode] (c4) at ($(a) + (8,-5.6)$) {Text 8};
            node[mynode] (d1) at ($(a) + (12,3.5)$) {Text 9};
            node[mynode] (d2) at ($(a) + (12,-0.7)$) {Text 10};
            node[mynode] (d3) at ($(a) + (12,-4.9)$) {Text 11};
            node[mynode] (d4) at ($(a) + (12,-6.3)$) {Text 12};
            node[mynode] (e1) at ($(a) + (16,4.9)$) {Text 13};
            node[mynode] (e2) at ($(a) + (16,3.5)$) {Text 14};
            node[mynode] (e3) at ($(a) + (16,2.1)$) {Text 15};
            node[mynode] (e4) at ($(a) + (16,0.7)$) {Text 16};
            node[mynode] (e5) at ($(a) + (16,-0.7)$) {Text 17};
            node[mynode] (e6) at ($(a) + (16,-2.1)$) {Text 18};
            node[mynode] (e7) at ($(a) + (16,-3.5)$) {Text 19};
            node[mynode] (e8) at ($(a) + (16,-6.3)$) {Text 20};
            node[mynode] (f1) at ($(a) + (20,-2.8)$) {Text 21};
            node[mynode] (f2) at ($(a) + (20,-4.2)$) {Text 22};
            node[mynode] (f3) at ($(a) + (20,-5.6)$) {Text 23};
            node[mynode] (f4) at ($(a) + (20,-7)$) {Text 24};

            draw (a) -| ($(a)!.5!(b1)$) |- (b1);
            draw (a) -| ($(a)!.5!(b2)$) |- (b2);
            draw (a) -| ($(a)!.5!(b3)$) |- (b3);
            draw (b1) -| ($(b1)!.5!(c1)$) |- (c1);
            draw (b1) -| ($(b1)!.5!(c2)$) |- (c2);
            draw (b2) -| ($(b2)!.5!(c3)$) |- (c3);
            draw (b2) -| ($(b2)!.5!(c4)$) |- (c4);
            draw (c3) -| ($(c3)!.5!(d1)$) |- (d1);
            draw (c3) -| ($(c3)!.5!(d2)$) |- (d2);
            draw (c4) -| ($(c4)!.5!(d3)$) |- (d3);
            draw (c4) -| ($(c4)!.5!(d4)$) |- (d4);
            draw (d1) -| ($(d1)!.5!(e1)$) |- (e1);
            draw (d1) -| ($(d1)!.5!(e2)$) |- (e2);
            draw (d1) -| ($(d1)!.5!(e3)$) |- (e3);
            draw (d2) -| ($(d2)!.5!(e4)$) |- (e4);
            draw (d2) -| ($(d2)!.5!(e5)$) |- (e5);
            draw (d2) -| ($(d2)!.5!(e6)$) |- (e6);
            draw (d3) -| ($(d3)!.5!(e7)$) |- (e7);
            draw (d3) -| ($(d3)!.5!(e8)$) |- (e8);
            draw (e7) -| ($(e7)!.5!(f1)$) |- (f1);
            draw (e7) -| ($(e7)!.5!(f2)$) |- (f2);
            draw (e8) -| ($(e8)!.5!(f3)$) |- (f3);
            draw (e8) -| ($(e8)!.5!(f4)$) |- (f4);
            end{tikzpicture}
            }
            end{document}


            which output is



            enter image description here







            share|improve this answer










            New contributor




            Marcin Szymkowiak is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.









            share|improve this answer



            share|improve this answer








            edited 2 days ago









            GiuTeX

            644216




            644216






            New contributor




            Marcin Szymkowiak is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.









            answered 2 days ago









            Marcin Szymkowiak

            415




            415




            New contributor




            Marcin Szymkowiak is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.





            New contributor





            Marcin Szymkowiak is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.






            Marcin Szymkowiak is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.








            • 1




              Please add the image of the flow-chart you generated. I would appreciate it.
              – nidhin
              2 days ago










            • @nidhin I added for you, take a look
              – GiuTeX
              2 days ago










            • +1. Thanks. Now the answer is complete.
              – nidhin
              2 days ago














            • 1




              Please add the image of the flow-chart you generated. I would appreciate it.
              – nidhin
              2 days ago










            • @nidhin I added for you, take a look
              – GiuTeX
              2 days ago










            • +1. Thanks. Now the answer is complete.
              – nidhin
              2 days ago








            1




            1




            Please add the image of the flow-chart you generated. I would appreciate it.
            – nidhin
            2 days ago




            Please add the image of the flow-chart you generated. I would appreciate it.
            – nidhin
            2 days ago












            @nidhin I added for you, take a look
            – GiuTeX
            2 days ago




            @nidhin I added for you, take a look
            – GiuTeX
            2 days ago












            +1. Thanks. Now the answer is complete.
            – nidhin
            2 days ago




            +1. Thanks. Now the answer is complete.
            – nidhin
            2 days ago










            Marcin Szymkowiak is a new contributor. Be nice, and check out our Code of Conduct.










             

            draft saved


            draft discarded


















            Marcin Szymkowiak is a new contributor. Be nice, and check out our Code of Conduct.













            Marcin Szymkowiak is a new contributor. Be nice, and check out our Code of Conduct.












            Marcin Szymkowiak is a new contributor. Be nice, and check out our Code of Conduct.















             


            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f459677%2fflowchart-in-tikz%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            How to change which sound is reproduced for terminal bell?

            Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

            Can I use Tabulator js library in my java Spring + Thymeleaf project?