Create Diagrams in VS Code with Draw.io
There are also plugins for graphviz, which is a more structured language. I use it for documenting states in my code, e.g. <a href="https://marketplace.visualstudio.com/items?itemName=tintinweb.graphviz-interactive-preview" rel="nofollow">https://marketplace.visualstudio.com/items?itemName=tintinwe...</a> and <a href="https://marketplace.visualstudio.com/items?itemName=joaompinto.vscode-graphviz" rel="nofollow">https://marketplace.visualstudio.com/items?itemName=joaompin...</a>. Since graphviz is old, there are also command line tools to render the output.<p>For more information about graphviz: <a href="https://graphviz.org/" rel="nofollow">https://graphviz.org/</a>