Skip to main content
Idea

Export Lucidchart diagrams to Mermaid code

Related products:Lucidchart
  • February 21, 2025
  • 14 replies
  • 693 views

Eric Padron

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?

April 3, 2025

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:

Comments

kellsworth
Forum|alt.badge.img
  • Lucid product team
  • 14 replies
  • February 21, 2025

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?


Eric Padron
Forum|alt.badge.img+10
  • Author
  • 50 replies
  • February 21, 2025

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 :)


kellsworth
Forum|alt.badge.img
  • Lucid product team
  • 14 replies
  • February 21, 2025

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


Ambar D
Forum|alt.badge.img+10
  • Lucid community team
  • 1163 replies
  • February 24, 2025

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:

 


Eric Padron
Forum|alt.badge.img+10
  • Author
  • 50 replies
  • April 1, 2025

@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 - 

 


Ambar D
Forum|alt.badge.img+10
  • Lucid community team
  • 1163 replies
  • April 3, 2025
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:


Forum|alt.badge.img
  • 2 replies
  • April 28, 2025

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. 
 


Ambar D
Forum|alt.badge.img+10
  • Lucid community team
  • 1163 replies
  • April 30, 2025

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


Forum|alt.badge.img

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.


Ambar D
Forum|alt.badge.img+10
  • Lucid community team
  • 1163 replies
  • July 31, 2025

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. 

 


Ambar D
Forum|alt.badge.img+10
  • Lucid community team
  • 1163 replies
  • July 31, 2025
Idea merged into:

All the votes from this idea have been transferred.

Forum|alt.badge.img
  • 1 reply
  • October 10, 2025

I really want to export to mermaid


Ambar D
Forum|alt.badge.img+10
  • Lucid community team
  • 1163 replies
  • October 14, 2025

Hi ​@TimNapier, thanks for adding to this thread and letting us know what you’re hoping to see! 


Ambar D
Forum|alt.badge.img+10
  • Lucid community team
  • 1163 replies
  • October 14, 2025
Idea merged into:

All the votes from this idea have been transferred.