I have a diagram that uses the new mermaid sequence diagram as code feature. The issue I’m having is I’d like to store the mermaid code in my git repository and post it to Lucid through automation. Is there an existing API for this?
Hi
We do have a REST API endpoint for programmatically generating new documents with shapes, lines etc: our Lucid Standard Import, which you can read more about in our docs here or in this community post: New JSON Standard Import API. However, this requires a specifically formatted JSON, so you couldn’t use this endpoint to directly create a new diagram from Mermaid code.
If you’d like to see an API endpoint designed to work with Mermaid code, please consider adding this as an idea in our Product Feedback Community space. This shares the feature request directly with our product team and gives others the option to upvote your idea. For details on how feedback submissions are collected and considered, check out this community post.
I’ve same problem here, would be great to see something like this comming
Hi
I’ve went ahead and converted this post to an idea so that it’s visible to others within the Product Feedback section of the community - from here, they can upvote it and add details of their own.
We encourage anyone else who’s interested in this to upvote this post and share what you’d like to see in this experience. For more information about how we manage feedback in the community, please take a look at this post.
Thanks
Here comes Lucid! Lucid if for us a great tool at the intersection of business and engineering. It allows us communication and alignment among both areas.
Now, with your new Mermaid-in-Code feature, you enabled us to add those mermaid.js artefacts next to business content to create a holistic overview.
Only problem is, that those mermaid diagrams change overtime, and as the import is manual, we can’t ensure the content remains up-to-date in Lucid. So this leads to inconsistency and questions of those holistic overviews… Hence, we’re very much appreciate if you’d allow us to programatically update those mermaid diagrams on change in VCS.
Hope this helps, feel free to ask more details - Thanks!
Hi
For others who may come across this post - we encourage anyone else who’s interested in this to upvote this post and share what you’d like to see in this experience. For more information about how we manage feedback in the community, please take a look at this post!
Create an account in the community
A Lucid account is required to interact with the community. You will be redirected to the Lucid app to create an account.
Log in to the community
A Lucid account is required to interact with the community. You will be redirected to the Lucid app to log in.
Login with SSO
Log in with LucidEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.