You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Users have expressed that they want to import mermaid js diagrams into it so that they can make edits visually and then reexport the diagram. To achieve this I would need to be able to parse the code and have an object returned that details the diagram structure. Currently the only api exposed is parse which returns a boolean but not quite the underlying Diagram.
Would you consider a new function that exposes this?
Steps to reproduce
As above this is a feature request but didn't fall into the categories mentioned.
Screenshots
No response
Code Sample
const diagram = parseDiagram(diagramCode);
// Diagram is an object the contains things like type as well as edges and nodes for the flowchart diagram for example.
Setup
Desktop
OS and Version: [Windows, Linux, Mac, ...]
Browser and Version: [Chrome, Edge, Firefox]
Smartphone
Device: [Samsung, iPhone, ...]
OS and Version: [Android, iOS, ...]
Browser and Version: [Chrome, Safari, ...]
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Description
Hi,
I am building a graphical editor for mermaid js: www.mermaidflow.app/flowchart.
Users have expressed that they want to import mermaid js diagrams into it so that they can make edits visually and then reexport the diagram. To achieve this I would need to be able to parse the code and have an object returned that details the diagram structure. Currently the only api exposed is parse which returns a boolean but not quite the underlying Diagram.
Would you consider a new function that exposes this?
Steps to reproduce
As above this is a feature request but didn't fall into the categories mentioned.
Screenshots
No response
Code Sample
Setup
Desktop
Smartphone
Additional Context
No response
The text was updated successfully, but these errors were encountered: