Work Breakdown with TikzTikZ: Cropping the Bounding BoxTop-align text in a TikZ node of given size for single- and multiline caseDecorate path with just a colored thick lineWork breakdown structure (WBS) TikZHow to define the default vertical distance between nodes?TikZ scaling graphic and adjust node position and keep font sizetrapezium, how to calculate angles?Input/Output Nodes - Specification and Description LanguageAdjusting edge alignment and positioning of fitted nodetikz and pgfdeclareshape why the text is not at the center anchor?

Why doesn't Newton's third law mean a person bounces back to where they started when they hit the ground?

Do Phineas and Ferb ever actually get busted in real time?

Accidentally leaked the solution to an assignment, what to do now? (I'm the prof)

Why are 150k or 200k jobs considered good when there are 300k+ births a month?

What would the Romans have called "sorcery"?

Prevent a directory in /tmp from being deleted

How is it possible for user to changed after storage was encrypted? (on OS X, Android)

Draw simple lines in Inkscape

How did the USSR manage to innovate in an environment characterized by government censorship and high bureaucracy?

Why is an old chain unsafe?

New order #4: World

How can I fix this gap between bookcases I made?

declaring a variable twice in IIFE

A function which translates a sentence to title-case

Why is "Reports" in sentence down without "The"

Possibly bubble sort algorithm

Should I join office cleaning event for free?

Validation accuracy vs Testing accuracy

What is the offset in a seaplane's hull?

Is there really no realistic way for a skeleton monster to move around without magic?

How do I create uniquely male characters?

Why is this code 6.5x slower with optimizations enabled?

Question about Goedel's incompleteness Proof

How is it possible to have an ability score that is less than 3?



Work Breakdown with Tikz


TikZ: Cropping the Bounding BoxTop-align text in a TikZ node of given size for single- and multiline caseDecorate path with just a colored thick lineWork breakdown structure (WBS) TikZHow to define the default vertical distance between nodes?TikZ scaling graphic and adjust node position and keep font sizetrapezium, how to calculate angles?Input/Output Nodes - Specification and Description LanguageAdjusting edge alignment and positioning of fitted nodetikz and pgfdeclareshape why the text is not at the center anchor?













2















Im trying to create a Work Breakdown structure with tikz. I would like to have Desired structure



Instead I have the following:Actual Outcome



Here's my code:



documentclass[tikz,border=10pt]standaloneusepackagetikz
usetikzlibraryshadows,arrows,positioning
usepackagecolor,soul %For highlighting
% Define the layers to draw the diagram
pgfdeclarelayerbackground
pgfdeclarelayerforeground
pgfsetlayersbackground,main,foreground

% Define block styles
tikzstylemateria=[draw, text width=6.0em, text centered,
minimum height=1.5em]
tikzstyleetape = [materia, text width=12em, minimum width=10em,
minimum height=3em, rounded corners]
tikzstyletexto = [above, text width=6em, text centered]
tikzstylelinepart = [draw, thick, color=black!30, -latex', dashed]
tikzstyleline = [draw, thick, color=black!30, -latex']
tikzstyleur=[draw, text centered, minimum height=0.01em]

% Define distances for bordering
newcommandblockdist1.3
newcommandedgedist1.5

newcommandetape[2]node (p#1) [etape]
#2

newcommandtransreceptor[3]%
path [linepart] (#1.east) -- node [above]
scriptsize #2 (#3);

begindocument
begintikzpicture[scale=0.7,transform shape]

% Draw diagram elements
path etape1textbfOperating Items;
path (p1.west)+(-5.0,0.0)etape2textbfNon-Operating Items;
path (p2.south)+(0.0,-1.0)etape3textbfInterest;
path (p3.south)+(0.0,-1.0)etape4textbfProfits and Losses;
path (p4.south)+(0.0,-1.0)etape5textbfSubsidies;
path (p1.south)+(2.5,-1.0)etape6textbfDirect Operating Costs;
path (p1.south)+(-2.5,-1.0)etape7textbfIndirect Operating Costs;




% Draw arrows between elements

path [line] (p2.south) -- node [above] (p3);
path [line] (p3.south) -- node [above] (p4);
path [line] (p4.south) -- node [above] (p5);
path [line] (p1.south) -- +(0.0,-0.2) -- +(+2.5,-0.2)
-- node [above, midway] (p6);
path [line] (p1.south) -- +(0.0,-0.2) -- +(-2.5,-0.2)
-- node [above, midway] (p7);





endtikzpicture
enddocument

´´´









share|improve this question







New contributor




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
























    2















    Im trying to create a Work Breakdown structure with tikz. I would like to have Desired structure



    Instead I have the following:Actual Outcome



    Here's my code:



    documentclass[tikz,border=10pt]standaloneusepackagetikz
    usetikzlibraryshadows,arrows,positioning
    usepackagecolor,soul %For highlighting
    % Define the layers to draw the diagram
    pgfdeclarelayerbackground
    pgfdeclarelayerforeground
    pgfsetlayersbackground,main,foreground

    % Define block styles
    tikzstylemateria=[draw, text width=6.0em, text centered,
    minimum height=1.5em]
    tikzstyleetape = [materia, text width=12em, minimum width=10em,
    minimum height=3em, rounded corners]
    tikzstyletexto = [above, text width=6em, text centered]
    tikzstylelinepart = [draw, thick, color=black!30, -latex', dashed]
    tikzstyleline = [draw, thick, color=black!30, -latex']
    tikzstyleur=[draw, text centered, minimum height=0.01em]

    % Define distances for bordering
    newcommandblockdist1.3
    newcommandedgedist1.5

    newcommandetape[2]node (p#1) [etape]
    #2

    newcommandtransreceptor[3]%
    path [linepart] (#1.east) -- node [above]
    scriptsize #2 (#3);

    begindocument
    begintikzpicture[scale=0.7,transform shape]

    % Draw diagram elements
    path etape1textbfOperating Items;
    path (p1.west)+(-5.0,0.0)etape2textbfNon-Operating Items;
    path (p2.south)+(0.0,-1.0)etape3textbfInterest;
    path (p3.south)+(0.0,-1.0)etape4textbfProfits and Losses;
    path (p4.south)+(0.0,-1.0)etape5textbfSubsidies;
    path (p1.south)+(2.5,-1.0)etape6textbfDirect Operating Costs;
    path (p1.south)+(-2.5,-1.0)etape7textbfIndirect Operating Costs;




    % Draw arrows between elements

    path [line] (p2.south) -- node [above] (p3);
    path [line] (p3.south) -- node [above] (p4);
    path [line] (p4.south) -- node [above] (p5);
    path [line] (p1.south) -- +(0.0,-0.2) -- +(+2.5,-0.2)
    -- node [above, midway] (p6);
    path [line] (p1.south) -- +(0.0,-0.2) -- +(-2.5,-0.2)
    -- node [above, midway] (p7);





    endtikzpicture
    enddocument

    ´´´









    share|improve this question







    New contributor




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






















      2












      2








      2








      Im trying to create a Work Breakdown structure with tikz. I would like to have Desired structure



      Instead I have the following:Actual Outcome



      Here's my code:



      documentclass[tikz,border=10pt]standaloneusepackagetikz
      usetikzlibraryshadows,arrows,positioning
      usepackagecolor,soul %For highlighting
      % Define the layers to draw the diagram
      pgfdeclarelayerbackground
      pgfdeclarelayerforeground
      pgfsetlayersbackground,main,foreground

      % Define block styles
      tikzstylemateria=[draw, text width=6.0em, text centered,
      minimum height=1.5em]
      tikzstyleetape = [materia, text width=12em, minimum width=10em,
      minimum height=3em, rounded corners]
      tikzstyletexto = [above, text width=6em, text centered]
      tikzstylelinepart = [draw, thick, color=black!30, -latex', dashed]
      tikzstyleline = [draw, thick, color=black!30, -latex']
      tikzstyleur=[draw, text centered, minimum height=0.01em]

      % Define distances for bordering
      newcommandblockdist1.3
      newcommandedgedist1.5

      newcommandetape[2]node (p#1) [etape]
      #2

      newcommandtransreceptor[3]%
      path [linepart] (#1.east) -- node [above]
      scriptsize #2 (#3);

      begindocument
      begintikzpicture[scale=0.7,transform shape]

      % Draw diagram elements
      path etape1textbfOperating Items;
      path (p1.west)+(-5.0,0.0)etape2textbfNon-Operating Items;
      path (p2.south)+(0.0,-1.0)etape3textbfInterest;
      path (p3.south)+(0.0,-1.0)etape4textbfProfits and Losses;
      path (p4.south)+(0.0,-1.0)etape5textbfSubsidies;
      path (p1.south)+(2.5,-1.0)etape6textbfDirect Operating Costs;
      path (p1.south)+(-2.5,-1.0)etape7textbfIndirect Operating Costs;




      % Draw arrows between elements

      path [line] (p2.south) -- node [above] (p3);
      path [line] (p3.south) -- node [above] (p4);
      path [line] (p4.south) -- node [above] (p5);
      path [line] (p1.south) -- +(0.0,-0.2) -- +(+2.5,-0.2)
      -- node [above, midway] (p6);
      path [line] (p1.south) -- +(0.0,-0.2) -- +(-2.5,-0.2)
      -- node [above, midway] (p7);





      endtikzpicture
      enddocument

      ´´´









      share|improve this question







      New contributor




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












      Im trying to create a Work Breakdown structure with tikz. I would like to have Desired structure



      Instead I have the following:Actual Outcome



      Here's my code:



      documentclass[tikz,border=10pt]standaloneusepackagetikz
      usetikzlibraryshadows,arrows,positioning
      usepackagecolor,soul %For highlighting
      % Define the layers to draw the diagram
      pgfdeclarelayerbackground
      pgfdeclarelayerforeground
      pgfsetlayersbackground,main,foreground

      % Define block styles
      tikzstylemateria=[draw, text width=6.0em, text centered,
      minimum height=1.5em]
      tikzstyleetape = [materia, text width=12em, minimum width=10em,
      minimum height=3em, rounded corners]
      tikzstyletexto = [above, text width=6em, text centered]
      tikzstylelinepart = [draw, thick, color=black!30, -latex', dashed]
      tikzstyleline = [draw, thick, color=black!30, -latex']
      tikzstyleur=[draw, text centered, minimum height=0.01em]

      % Define distances for bordering
      newcommandblockdist1.3
      newcommandedgedist1.5

      newcommandetape[2]node (p#1) [etape]
      #2

      newcommandtransreceptor[3]%
      path [linepart] (#1.east) -- node [above]
      scriptsize #2 (#3);

      begindocument
      begintikzpicture[scale=0.7,transform shape]

      % Draw diagram elements
      path etape1textbfOperating Items;
      path (p1.west)+(-5.0,0.0)etape2textbfNon-Operating Items;
      path (p2.south)+(0.0,-1.0)etape3textbfInterest;
      path (p3.south)+(0.0,-1.0)etape4textbfProfits and Losses;
      path (p4.south)+(0.0,-1.0)etape5textbfSubsidies;
      path (p1.south)+(2.5,-1.0)etape6textbfDirect Operating Costs;
      path (p1.south)+(-2.5,-1.0)etape7textbfIndirect Operating Costs;




      % Draw arrows between elements

      path [line] (p2.south) -- node [above] (p3);
      path [line] (p3.south) -- node [above] (p4);
      path [line] (p4.south) -- node [above] (p5);
      path [line] (p1.south) -- +(0.0,-0.2) -- +(+2.5,-0.2)
      -- node [above, midway] (p6);
      path [line] (p1.south) -- +(0.0,-0.2) -- +(-2.5,-0.2)
      -- node [above, midway] (p7);





      endtikzpicture
      enddocument

      ´´´






      tikz-pgf tikz-trees






      share|improve this question







      New contributor




      L Lewis 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




      L Lewis 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




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









      asked 5 hours ago









      L LewisL Lewis

      132




      132




      New contributor




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





      New contributor





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






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




















          1 Answer
          1






          active

          oldest

          votes


















          3














          Welcome to TeX-SE! If your question is about a minimal damage modification of your code that produces something of that sort, here is a proposal:



          documentclass[tikz,border=10pt]standalone
          usetikzlibraryshadows,arrows,positioning
          usepackagecolor,soul %For highlighting
          % Define the layers to draw the diagram
          pgfdeclarelayerbackground
          pgfdeclarelayerforeground
          pgfsetlayersbackground,main,foreground

          % Define block styles
          tikzsetmateria/.style=draw, text width=6.0em, text centered,
          minimum height=1.5em,
          etape/.style=materia, text width=12em, minimum width=10em,
          minimum height=3em, rounded corners,
          texto/.style=above, text width=6em, text centered,
          linepart/.style=draw, thick, color=black!30, -latex', dashed,
          line/.style=draw, thick, color=black!30, -latex',
          ur/.style=draw, text centered, minimum height=0.01em

          % Define distances for bordering
          newcommandblockdist1.3
          newcommandedgedist1.5

          newcommandetape[2]node (p#1) [etape]
          #2

          newcommandtransreceptor[3]%
          path [linepart] (#1.east) -- node [above]
          scriptsize #2 (#3);

          begindocument
          begintikzpicture[scale=0.7,transform shape]

          % Draw diagram elements
          path etape1textbfOperating Items;
          path (p1.west)+(-6.5,0.0)etape2textbfNon-Operating Items;
          path (p2.south)+(1,-1.0)etape3textbfInterest;
          path (p3.south)+(0.0,-1.0)etape4textbfProfits and Losses;
          path (p4.south)+(0.0,-1.0)etape5textbfSubsidies;
          path (p1.south)+(2.5,-1.0)etape6textbfDirect Operating Costs;
          path (p1.south)+(-2.5,-1.0)etape7textbfIndirect Operating Costs;




          % Draw arrows between elements
          foreach X in 3,4,5
          - (pX.west);
          path [line] (p1.south) -- +(0.0,-0.2) -- +(+2.5,-0.2)
          -- node [above, midway] (p6);
          path [line] (p1.south) -- +(0.0,-0.2) -- +(-2.5,-0.2)
          -- node [above, midway] (p7);


          endtikzpicture
          enddocument


          enter image description here



          If you are asking about a cleaner code that achieves this output, the answer will be quite different. E.g. the following is already shorter and simpler IMHO.



          documentclass[tikz,border=10pt]standalone
          usetikzlibraryarrows,positioning

          % Define block styles
          tikzsetmateria/.style=draw, text width=6.0em, text centered,
          minimum height=1.5em,
          etape/.style=materia, text width=12em, minimum width=10em,
          minimum height=3em, rounded corners,
          line/.style=draw, thick, color=black!30, -latex'


          begindocument
          begintikzpicture[scale=0.7,transform shape]
          beginscope[nodes=etape,font=bfseries]
          node (p1) Operating Items;
          node[left=6.5cm of p1] (p2) Non-Operating Items;
          node[below=5mm of p2,xshift=8mm] (p3) Interest;
          node[below=5mm of p3] (p4) Profits and Losses;
          node[below=5mm of p4] (p5) Subsidies;
          node[below left=8mm and 1mm of p1.south] (p6) Direct Operating Costs;
          node[below right=8mm and 1mm of p1.south] (p7) Indirect Operating Costs;
          endscope
          % Draw arrows between elements
          foreach X in 3,4,5
          - (pX.west);
          foreach X in 6,7
          (pX.north);
          endtikzpicture
          enddocument





          share|improve this answer

























          • That was exactly what I was searching for

            – L Lewis
            5 hours 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',
          autoActivateHeartbeat: false,
          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
          );



          );






          L Lewis 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%2f483701%2fwork-breakdown-with-tikz%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          3














          Welcome to TeX-SE! If your question is about a minimal damage modification of your code that produces something of that sort, here is a proposal:



          documentclass[tikz,border=10pt]standalone
          usetikzlibraryshadows,arrows,positioning
          usepackagecolor,soul %For highlighting
          % Define the layers to draw the diagram
          pgfdeclarelayerbackground
          pgfdeclarelayerforeground
          pgfsetlayersbackground,main,foreground

          % Define block styles
          tikzsetmateria/.style=draw, text width=6.0em, text centered,
          minimum height=1.5em,
          etape/.style=materia, text width=12em, minimum width=10em,
          minimum height=3em, rounded corners,
          texto/.style=above, text width=6em, text centered,
          linepart/.style=draw, thick, color=black!30, -latex', dashed,
          line/.style=draw, thick, color=black!30, -latex',
          ur/.style=draw, text centered, minimum height=0.01em

          % Define distances for bordering
          newcommandblockdist1.3
          newcommandedgedist1.5

          newcommandetape[2]node (p#1) [etape]
          #2

          newcommandtransreceptor[3]%
          path [linepart] (#1.east) -- node [above]
          scriptsize #2 (#3);

          begindocument
          begintikzpicture[scale=0.7,transform shape]

          % Draw diagram elements
          path etape1textbfOperating Items;
          path (p1.west)+(-6.5,0.0)etape2textbfNon-Operating Items;
          path (p2.south)+(1,-1.0)etape3textbfInterest;
          path (p3.south)+(0.0,-1.0)etape4textbfProfits and Losses;
          path (p4.south)+(0.0,-1.0)etape5textbfSubsidies;
          path (p1.south)+(2.5,-1.0)etape6textbfDirect Operating Costs;
          path (p1.south)+(-2.5,-1.0)etape7textbfIndirect Operating Costs;




          % Draw arrows between elements
          foreach X in 3,4,5
          - (pX.west);
          path [line] (p1.south) -- +(0.0,-0.2) -- +(+2.5,-0.2)
          -- node [above, midway] (p6);
          path [line] (p1.south) -- +(0.0,-0.2) -- +(-2.5,-0.2)
          -- node [above, midway] (p7);


          endtikzpicture
          enddocument


          enter image description here



          If you are asking about a cleaner code that achieves this output, the answer will be quite different. E.g. the following is already shorter and simpler IMHO.



          documentclass[tikz,border=10pt]standalone
          usetikzlibraryarrows,positioning

          % Define block styles
          tikzsetmateria/.style=draw, text width=6.0em, text centered,
          minimum height=1.5em,
          etape/.style=materia, text width=12em, minimum width=10em,
          minimum height=3em, rounded corners,
          line/.style=draw, thick, color=black!30, -latex'


          begindocument
          begintikzpicture[scale=0.7,transform shape]
          beginscope[nodes=etape,font=bfseries]
          node (p1) Operating Items;
          node[left=6.5cm of p1] (p2) Non-Operating Items;
          node[below=5mm of p2,xshift=8mm] (p3) Interest;
          node[below=5mm of p3] (p4) Profits and Losses;
          node[below=5mm of p4] (p5) Subsidies;
          node[below left=8mm and 1mm of p1.south] (p6) Direct Operating Costs;
          node[below right=8mm and 1mm of p1.south] (p7) Indirect Operating Costs;
          endscope
          % Draw arrows between elements
          foreach X in 3,4,5
          - (pX.west);
          foreach X in 6,7
          (pX.north);
          endtikzpicture
          enddocument





          share|improve this answer

























          • That was exactly what I was searching for

            – L Lewis
            5 hours ago















          3














          Welcome to TeX-SE! If your question is about a minimal damage modification of your code that produces something of that sort, here is a proposal:



          documentclass[tikz,border=10pt]standalone
          usetikzlibraryshadows,arrows,positioning
          usepackagecolor,soul %For highlighting
          % Define the layers to draw the diagram
          pgfdeclarelayerbackground
          pgfdeclarelayerforeground
          pgfsetlayersbackground,main,foreground

          % Define block styles
          tikzsetmateria/.style=draw, text width=6.0em, text centered,
          minimum height=1.5em,
          etape/.style=materia, text width=12em, minimum width=10em,
          minimum height=3em, rounded corners,
          texto/.style=above, text width=6em, text centered,
          linepart/.style=draw, thick, color=black!30, -latex', dashed,
          line/.style=draw, thick, color=black!30, -latex',
          ur/.style=draw, text centered, minimum height=0.01em

          % Define distances for bordering
          newcommandblockdist1.3
          newcommandedgedist1.5

          newcommandetape[2]node (p#1) [etape]
          #2

          newcommandtransreceptor[3]%
          path [linepart] (#1.east) -- node [above]
          scriptsize #2 (#3);

          begindocument
          begintikzpicture[scale=0.7,transform shape]

          % Draw diagram elements
          path etape1textbfOperating Items;
          path (p1.west)+(-6.5,0.0)etape2textbfNon-Operating Items;
          path (p2.south)+(1,-1.0)etape3textbfInterest;
          path (p3.south)+(0.0,-1.0)etape4textbfProfits and Losses;
          path (p4.south)+(0.0,-1.0)etape5textbfSubsidies;
          path (p1.south)+(2.5,-1.0)etape6textbfDirect Operating Costs;
          path (p1.south)+(-2.5,-1.0)etape7textbfIndirect Operating Costs;




          % Draw arrows between elements
          foreach X in 3,4,5
          - (pX.west);
          path [line] (p1.south) -- +(0.0,-0.2) -- +(+2.5,-0.2)
          -- node [above, midway] (p6);
          path [line] (p1.south) -- +(0.0,-0.2) -- +(-2.5,-0.2)
          -- node [above, midway] (p7);


          endtikzpicture
          enddocument


          enter image description here



          If you are asking about a cleaner code that achieves this output, the answer will be quite different. E.g. the following is already shorter and simpler IMHO.



          documentclass[tikz,border=10pt]standalone
          usetikzlibraryarrows,positioning

          % Define block styles
          tikzsetmateria/.style=draw, text width=6.0em, text centered,
          minimum height=1.5em,
          etape/.style=materia, text width=12em, minimum width=10em,
          minimum height=3em, rounded corners,
          line/.style=draw, thick, color=black!30, -latex'


          begindocument
          begintikzpicture[scale=0.7,transform shape]
          beginscope[nodes=etape,font=bfseries]
          node (p1) Operating Items;
          node[left=6.5cm of p1] (p2) Non-Operating Items;
          node[below=5mm of p2,xshift=8mm] (p3) Interest;
          node[below=5mm of p3] (p4) Profits and Losses;
          node[below=5mm of p4] (p5) Subsidies;
          node[below left=8mm and 1mm of p1.south] (p6) Direct Operating Costs;
          node[below right=8mm and 1mm of p1.south] (p7) Indirect Operating Costs;
          endscope
          % Draw arrows between elements
          foreach X in 3,4,5
          - (pX.west);
          foreach X in 6,7
          (pX.north);
          endtikzpicture
          enddocument





          share|improve this answer

























          • That was exactly what I was searching for

            – L Lewis
            5 hours ago













          3












          3








          3







          Welcome to TeX-SE! If your question is about a minimal damage modification of your code that produces something of that sort, here is a proposal:



          documentclass[tikz,border=10pt]standalone
          usetikzlibraryshadows,arrows,positioning
          usepackagecolor,soul %For highlighting
          % Define the layers to draw the diagram
          pgfdeclarelayerbackground
          pgfdeclarelayerforeground
          pgfsetlayersbackground,main,foreground

          % Define block styles
          tikzsetmateria/.style=draw, text width=6.0em, text centered,
          minimum height=1.5em,
          etape/.style=materia, text width=12em, minimum width=10em,
          minimum height=3em, rounded corners,
          texto/.style=above, text width=6em, text centered,
          linepart/.style=draw, thick, color=black!30, -latex', dashed,
          line/.style=draw, thick, color=black!30, -latex',
          ur/.style=draw, text centered, minimum height=0.01em

          % Define distances for bordering
          newcommandblockdist1.3
          newcommandedgedist1.5

          newcommandetape[2]node (p#1) [etape]
          #2

          newcommandtransreceptor[3]%
          path [linepart] (#1.east) -- node [above]
          scriptsize #2 (#3);

          begindocument
          begintikzpicture[scale=0.7,transform shape]

          % Draw diagram elements
          path etape1textbfOperating Items;
          path (p1.west)+(-6.5,0.0)etape2textbfNon-Operating Items;
          path (p2.south)+(1,-1.0)etape3textbfInterest;
          path (p3.south)+(0.0,-1.0)etape4textbfProfits and Losses;
          path (p4.south)+(0.0,-1.0)etape5textbfSubsidies;
          path (p1.south)+(2.5,-1.0)etape6textbfDirect Operating Costs;
          path (p1.south)+(-2.5,-1.0)etape7textbfIndirect Operating Costs;




          % Draw arrows between elements
          foreach X in 3,4,5
          - (pX.west);
          path [line] (p1.south) -- +(0.0,-0.2) -- +(+2.5,-0.2)
          -- node [above, midway] (p6);
          path [line] (p1.south) -- +(0.0,-0.2) -- +(-2.5,-0.2)
          -- node [above, midway] (p7);


          endtikzpicture
          enddocument


          enter image description here



          If you are asking about a cleaner code that achieves this output, the answer will be quite different. E.g. the following is already shorter and simpler IMHO.



          documentclass[tikz,border=10pt]standalone
          usetikzlibraryarrows,positioning

          % Define block styles
          tikzsetmateria/.style=draw, text width=6.0em, text centered,
          minimum height=1.5em,
          etape/.style=materia, text width=12em, minimum width=10em,
          minimum height=3em, rounded corners,
          line/.style=draw, thick, color=black!30, -latex'


          begindocument
          begintikzpicture[scale=0.7,transform shape]
          beginscope[nodes=etape,font=bfseries]
          node (p1) Operating Items;
          node[left=6.5cm of p1] (p2) Non-Operating Items;
          node[below=5mm of p2,xshift=8mm] (p3) Interest;
          node[below=5mm of p3] (p4) Profits and Losses;
          node[below=5mm of p4] (p5) Subsidies;
          node[below left=8mm and 1mm of p1.south] (p6) Direct Operating Costs;
          node[below right=8mm and 1mm of p1.south] (p7) Indirect Operating Costs;
          endscope
          % Draw arrows between elements
          foreach X in 3,4,5
          - (pX.west);
          foreach X in 6,7
          (pX.north);
          endtikzpicture
          enddocument





          share|improve this answer















          Welcome to TeX-SE! If your question is about a minimal damage modification of your code that produces something of that sort, here is a proposal:



          documentclass[tikz,border=10pt]standalone
          usetikzlibraryshadows,arrows,positioning
          usepackagecolor,soul %For highlighting
          % Define the layers to draw the diagram
          pgfdeclarelayerbackground
          pgfdeclarelayerforeground
          pgfsetlayersbackground,main,foreground

          % Define block styles
          tikzsetmateria/.style=draw, text width=6.0em, text centered,
          minimum height=1.5em,
          etape/.style=materia, text width=12em, minimum width=10em,
          minimum height=3em, rounded corners,
          texto/.style=above, text width=6em, text centered,
          linepart/.style=draw, thick, color=black!30, -latex', dashed,
          line/.style=draw, thick, color=black!30, -latex',
          ur/.style=draw, text centered, minimum height=0.01em

          % Define distances for bordering
          newcommandblockdist1.3
          newcommandedgedist1.5

          newcommandetape[2]node (p#1) [etape]
          #2

          newcommandtransreceptor[3]%
          path [linepart] (#1.east) -- node [above]
          scriptsize #2 (#3);

          begindocument
          begintikzpicture[scale=0.7,transform shape]

          % Draw diagram elements
          path etape1textbfOperating Items;
          path (p1.west)+(-6.5,0.0)etape2textbfNon-Operating Items;
          path (p2.south)+(1,-1.0)etape3textbfInterest;
          path (p3.south)+(0.0,-1.0)etape4textbfProfits and Losses;
          path (p4.south)+(0.0,-1.0)etape5textbfSubsidies;
          path (p1.south)+(2.5,-1.0)etape6textbfDirect Operating Costs;
          path (p1.south)+(-2.5,-1.0)etape7textbfIndirect Operating Costs;




          % Draw arrows between elements
          foreach X in 3,4,5
          - (pX.west);
          path [line] (p1.south) -- +(0.0,-0.2) -- +(+2.5,-0.2)
          -- node [above, midway] (p6);
          path [line] (p1.south) -- +(0.0,-0.2) -- +(-2.5,-0.2)
          -- node [above, midway] (p7);


          endtikzpicture
          enddocument


          enter image description here



          If you are asking about a cleaner code that achieves this output, the answer will be quite different. E.g. the following is already shorter and simpler IMHO.



          documentclass[tikz,border=10pt]standalone
          usetikzlibraryarrows,positioning

          % Define block styles
          tikzsetmateria/.style=draw, text width=6.0em, text centered,
          minimum height=1.5em,
          etape/.style=materia, text width=12em, minimum width=10em,
          minimum height=3em, rounded corners,
          line/.style=draw, thick, color=black!30, -latex'


          begindocument
          begintikzpicture[scale=0.7,transform shape]
          beginscope[nodes=etape,font=bfseries]
          node (p1) Operating Items;
          node[left=6.5cm of p1] (p2) Non-Operating Items;
          node[below=5mm of p2,xshift=8mm] (p3) Interest;
          node[below=5mm of p3] (p4) Profits and Losses;
          node[below=5mm of p4] (p5) Subsidies;
          node[below left=8mm and 1mm of p1.south] (p6) Direct Operating Costs;
          node[below right=8mm and 1mm of p1.south] (p7) Indirect Operating Costs;
          endscope
          % Draw arrows between elements
          foreach X in 3,4,5
          - (pX.west);
          foreach X in 6,7
          (pX.north);
          endtikzpicture
          enddocument






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 5 hours ago

























          answered 5 hours ago









          marmotmarmot

          116k5146277




          116k5146277












          • That was exactly what I was searching for

            – L Lewis
            5 hours ago

















          • That was exactly what I was searching for

            – L Lewis
            5 hours ago
















          That was exactly what I was searching for

          – L Lewis
          5 hours ago





          That was exactly what I was searching for

          – L Lewis
          5 hours ago










          L Lewis is a new contributor. Be nice, and check out our Code of Conduct.









          draft saved

          draft discarded


















          L Lewis is a new contributor. Be nice, and check out our Code of Conduct.












          L Lewis is a new contributor. Be nice, and check out our Code of Conduct.











          L Lewis is a new contributor. Be nice, and check out our Code of Conduct.














          Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f483701%2fwork-breakdown-with-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

          名間水力發電廠 目录 沿革 設施 鄰近設施 註釋 外部連結 导航菜单23°50′10″N 120°42′41″E / 23.83611°N 120.71139°E / 23.83611; 120.7113923°50′10″N 120°42′41″E / 23.83611°N 120.71139°E / 23.83611; 120.71139計畫概要原始内容臺灣第一座BOT 模式開發的水力發電廠-名間水力電廠名間水力發電廠 水利署首件BOT案原始内容《小檔案》名間電廠 首座BOT水力發電廠原始内容名間電廠BOT - 經濟部水利署中區水資源局

          Prove that NP is closed under karp reduction?Space(n) not closed under Karp reductions - what about NTime(n)?Class P is closed under rotation?Prove or disprove that $NL$ is closed under polynomial many-one reductions$mathbfNC_2$ is closed under log-space reductionOn Karp reductionwhen can I know if a class (complexity) is closed under reduction (cook/karp)Check if class $PSPACE$ is closed under polyonomially space reductionIs NPSPACE also closed under polynomial-time reduction and under log-space reduction?Prove PSPACE is closed under complement?Prove PSPACE is closed under union?

          Is my guitar’s action too high? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Strings too stiff on a recently purchased acoustic guitar | Cort AD880CEIs the action of my guitar really high?Μy little finger is too weak to play guitarWith guitar, how long should I give my fingers to strengthen / callous?When playing a fret the guitar sounds mutedPlaying (Barre) chords up the guitar neckI think my guitar strings are wound too tight and I can't play barre chordsF barre chord on an SG guitarHow to find to the right strings of a barre chord by feel?High action on higher fret on my steel acoustic guitar