Summary
We have looked at state diagrams and now you know what they are and how to create them using Mermaid. You know what states are and the different types of states that are supported by Mermaid. You know how to create transitions in different ways and how to draw a choice shape using the <<choice>>
keyword to clarify different paths in the state machine. You have also looked at how to define and highlight concurrency in state machines. That is not all as you also have come to know how to add more details by visualizing synchronicity in the concurrency using forks and joins. On top of that, you have also learned how to add notes directly into your state diagram.
We have covered many diagrams that describe systems and other technical aspects of software development, but in the next chapter, it is time to look at a non-technical diagram – Gantt charts, which are used for project planning.