Repository navigation
feat: JSON format representation of diagram is returned in render fun… - #6095
Conversation
|
✅ Deploy Preview for mermaid-js ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
commit: |
|
@knsv @sidharthv96 @Yokozuna59 This pr is able to solve the problem of not being able to get the data structure of the layout information, but has not been able to get the merge, this problem has been bothering me for a long time, and I have been using the fork way of data conversion, is the team currently considering solving this problem, or is it because there is already a program being implemented? I would like to get a response to this question, thank you very much! |
|
@perseveringman there is already a different approach for unifying rendering data that's being implemented. This approach adds a new dependency, and does extra processing while rendering, without any benefit for the majority of the end users. I would suggest you to continue using the fork, until the new approach is implemented for all these diagrams. If you could share your usecase, we could see if we can tweak |
Is there any discussion or code address for the new approach? I'm very interested and happy to help. |
|
This should help #5604 |
📑 Summary
Intention of this PR is to export json format representation of mermaid diagram.
This PR supports JSON format representation for following types of diagrams
Resolves
https://github.com/orgs/mermaid-js/discussions/6094