Skip to main content

I would like to design my ERD in Lucidchart and output Mermaid code that can be committed to source control. I would imagine we could have a special set of shapes and connectors for this. It would be awesome to bidirectionally update as well. Looks like Mermaid is in beta today where we can code to charts, but this request would handle the other direction as well. Thoughts?

Hey ​@Eric Padron - follow up question for you on this idea - Do you care that it is Mermaid code specifically, or is it more about the fact that you can take a diagram and put it into source control? 
Said differently - if we could export / import in some other format would that still achieve your goals, or is the goal to get Mermaid specifically?


Hi ​@kellsworth,

It definitely doesn’t have to be Mermaid specifically. My team hasn’t selected what we want to use yet as far as diagramming as code, but I noticed the Mermaid beta (code → chart) in Lucidchart and figured the opposite direction would seal the deal for us. Ultimately, I like designing in Lucidchart and being able to commit a design as code along with my architecture decision record would be phenomenal.

Really appreciate the fast follow up. You’re good :)


Thanks for the additional details ​@Eric Padron. That makes sense. 


We encourage anyone else who’s interested in this to upvote this post and share any additional details about your use case or what you’d like to see in this experience.

For more information about how we manage feedback in this community, please take a look at this post:

 


@Ambar D I just realized a similar idea has been out there for ~2 years. Are we able to merge or delete mine and use this - 

 


Hey ​@Eric Padron, good catch here!
I’ve gone ahead and merged your post here into the one below to consolidate any feedback and upvotes into one spot. All the votes from this idea have been transferred to the one below.
 

We encourage anyone else who’s interested in this to upvote the post below and share any additional details here:


Adding my vote here. 

 

Checking in code is def great on it’s own, especially for preserving that polished lucid curb appeal!

That said, getting it in mermaid for previewing in Github/etc directly would be a major win. 
 


Thanks for adding your upvote to this thread and this additional feedback ​@dwelch2344!


Hi, I would like this export to happen specifically in mermaid format, the reason being simply because the mermaid code is well known to modern day LLMs. So this will make lot of sense for AI development. This will help us in avoiding use of visual models for lucid chart diagrams. And from my past experiences, working with LLMs+mermaid code has always worked way better than working with VLMs + lucid chart diagram exported as image.
Thanks.


Thank you for adding your feedback to this thread! I am merging this thread with the one below in an effort to consolidate feedback and adequately capture the popularity of this request. All votes from this post will be transferred to the post below. 

 


Idea merged into:

All the votes from this idea have been transferred.