In the previous recipe, Building smart diagrams, we used predefined chart types. In a case when we would need more flexibility, we can do it ourselves from scratch. It's also not too hard, and it's a very good way of learning to draw with TikZ.
We will create a flowchart depicting the decision-making procedure for choosing a math environment.
Similar to what we saw in our description diagram of the first recipe, we will do the following:
Of course, whatever is done in each step may be modified at any time. It's usual to place nodes and arrows at first, and then start fine-tuning shapes and colors.
So let's tackle it. Go through ...