If you’ve been using the diagram as code with Mermaid feature in Lucidchart, you know the routine: type in your code, move your mouse, select “Generate” or “Update”, and repeat.
We’re excited to announce an update to this workflow!
Instead of manually updating your diagram, your diagrams will automatically update as you write your mermaid code. Now it’s easier than ever to build and iterate on complex diagrams without breaking your concentration.
What’s changing?
- The ‘Generate’ button and ‘Update’ buttons have been removed.
- Edits to your markup will sync with the on-document shape as you type in your code.
No more toggling back and forth- just focus on your logic, and watch the visual update as you go!

Give it a try and let us know what you think!