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.

After going through some flowchart examples in tikz and some examples in TexSX, I understand that people generally adopt two techniques to draw flowchart diagrams in tikz

  • Define all types of blocks you need using \tikzset. Place the nodes according to their relative position, starting from the first node, and then draw the lines connecting them.

  • Define all types of blocks you need using \tikzset. Draw all the nodes in a matrix. Leave empty spaces if you don't have a node in a particular entry in the matrix. Then connect all the nodes.

I was curious to know, which approach is better in general. Could someone point out to the advantages and disadvantages of this methods.

share|improve this question
5  
I find the first approach is better as often I have to add something that I forgot somewhere in between the diagram. Since everything was placed relative to other nodes, the diagram readjusts itself as desired. By placing all the nodes in a matrix it is harder to insert nodes, or move a block of nodes later. –  Peter Grill Jun 5 '13 at 5:09
    
nice!!,I waited for other suggestions, seems like not much is happening. Could you write that as an answer please,, –  dineshdileep Jun 9 '13 at 13:15
add comment

1 Answer 1

up vote 4 down vote accepted

Converting comment to answer as requested:

I find that the first approach of using relative positioning is better as often I have to add something that I forgot somewhere in between the diagram. Since everything was placed relative to other nodes, the diagram re-adjusts itself as desired.

By placing all the nodes in a matrix it is harder to insert nodes, or move a block of nodes later.

References:

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.