Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I want to draw a diagram that shows how my program flows.

I have a main routine that calls a few subroutines, which in turn call a few subroutines.

Does a package exist which can show this hierarchy?

I want to be able to configure the size of all the rectangles I draw.

something like this

enter image description here

share|improve this question

closed as too localized by percusse, lockstep, mafp, diabonas, Andrew Swann Mar 22 '13 at 15:03

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Please show what you've tried so far (there are many, many questions about flow charts on this site, and lots of examples on texample.net). Without a concrete question, this will probably be closed as "too localized". –  Jake Mar 19 '13 at 8:47
    
If I wouldn't find a package, I was simply going to draw every block individually as a rectangle and then connect them. –  user494461 Mar 19 '13 at 8:49
3  
There are some excellent examples in the TikZ/PGF manual (perhaps look at the tutorial "Putting a Diagram in Chains" in Section I.5) or also in the CS area of TeXample.net which may be helpful for your case. The node sizes can be easily configured using, e.g., the text width and minimum height parameters. –  benwilfut Mar 19 '13 at 8:53
    
I think this suits nicely - texample.net/tikz/examples/family-tree –  user494461 Mar 19 '13 at 8:53
3  
You can draw this easily if you go through "Putting Diagram in Chains" of the pgfmanual. There were several methods discussed there. What about trying to do it on your own first then come back here to ask about the part that gives you difficulty. –  hpesoj626 Mar 19 '13 at 9:02
add comment

Browse other questions tagged or ask your own question.