Skip to main content
Question

How to export, edit diagram code, and re-import into Lucidchart?

  • June 9, 2026
  • 3 replies
  • 92 views

Forum|alt.badge.img+4

Hello,

I have a lucid diagram that represents the application landscape of a company.  There are 900+ shapes; applications represented by rectangles that are interconnected using lines that represent interfaces. 

It is a very large diagram, so when you come to add additional applications and integration you spend a lot of time reordering and reworking the layout.  Which is a pain and very time consuming.

I did consider exporting the landscape, updating the code that defined the diagram and then re-importing.  I can do this in other applications, and it is often quicker and less prone to errors.  The issue with Lucid is that the file types for both import and export are not the same.

If I export JSON there is no information on how things are connected or the coordinates of the shapes.  SVG does provide this.

Importing files has a very different file type selection - the closest being the Draw.io XML format.

It might take me minutes to export a diagram change the underlying shape code and reimport to show additional shapes and connectors.  The same “in app” would take me hours.

Has anyone else tried this approach and did they find a solution to help reduce the hours of moving shapes around a page?

Thanks for your help in advance.

Comments

Leianne C
Forum|alt.badge.img+15
  • Lucid support team
  • June 12, 2026

Hi ​@MarkTerrington, thank you for posting in the community! We do have the option to Diagram as code with Mermaid in Lucidchart, which allows you to use diagram as code to generate a Lucidchart diagram using Mermaid. Once you’ve written out the Mermaid code, you can automatically generate a diagram onto your Lucid document.

Alternatively, you may find our Developer Extension API helpful with your use-case as well. If you choose to use this, I would also recommend the Lucid for Developers Community where Technical Support staff and our API Development team are available to help you with any questions! 

I hope this helps! Please feel free to let us know if you have any questions. Cheers! 


Forum|alt.badge.img+4

HI ​@Leianne C thanks for your reply.

I have seen others use mermaid before.  But I have an existing application landscape with over 900 shapes and interconnecting lines.  I also have about 150 hover texts (conditional formatting). 

I do not see a way of generating mermaid code from that.  I do not think starting from scratch with code would be an answer.  Plus looking at the link you sent me it has given examples of the types of diagrams.  Most are basic, so I think a very detailed application landscape may not be a suitable diagram type.

Thanks,

Mark


Forum|alt.badge.img+4

Dear Lucid,

Stop marking replies as answers...