Seeking Recommendations for a Visual Editor Interface for Mermaid #4626
-
I am reaching out to inquire about the availability of a visual editing interface for creating and manipulating Mermaid diagrams interactively, similar in functionality to what is offered by Mermaid Live. While I appreciate the functionality offered by Mermaid Live, I sometimes find myself wishing for a more interactive way to edit my diagrams within the graphic itself instead of searching through the code to locate the corresponding section to modify. To clarify, I'm not looking for another UML drawing tool that merely exports images. What I seek is an editor that retains Mermaid's core concept of code-based diagram generation while enhancing user interaction during the editing process. I understand this might be a tall order, but I'm curious to know if there's already such a project in existence or perhaps under development. Any suggestions or guidance would be greatly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 7 replies
-
I think one way for that interactivity and location in code is adding a click handler on the visual chart that corresponds to the line of code in the editor. Similarly, if editing a piece of code for a graphic that exists in the visual, it can be highlighted in some way. |
Beta Was this translation helpful? Give feedback.
-
I haven't seen any open-source projects that can do this. But there is a closed-source project called Mermaid Flow that does this https://www.mermaidflow.app/! Unfortunately it currently only supports Mermaid flowcharts, but they are planning on supporting other diagrams in the future! You can track their roadmap here: https://github.com/ted-marozzi/mermaid-flow-feedback |
Beta Was this translation helpful? Give feedback.
-
Hi @ted-marozzi I appreciate your product. I wonder where I can send my feedback. Here is what I found for now:
---
title: "Diagram Title"
---
flowchart
466218["init_pCIeDeviceProperty"] --> 160326["<span style="white-space-collapse: preserve; background-color: rgb(255, 255, 255);">initialize_table_pCIeDeviceDescriptionTable</span>"]
172914["pcieDescriptionTable_reload"] --> 873181["<div style="color: rgb(235, 219, 178); background-color: rgb(29, 32, 33); font-family: "Victor Mono Medium", "Sarasa Term SC", Consolas, "FiraCode Nerd Font Mono", "Noto Sans Mono CJK SC", "Droid Sans Mono", "monospace", monospace; font-size: 18px; line-height: 24px; white-space: pre;"><span style="color: #fabd2f;">pcieDescriptionTable_reload</span></div>"]
878628["pcieDescriptionTable_reload_from_file"] --> 994368["<div style="color: rgb(235, 219, 178); background-color: rgb(29, 32, 33); font-family: "Victor Mono Medium", "Sarasa Term SC", Consolas, "FiraCode Nerd Font Mono", "Noto Sans Mono CJK SC", "Droid Sans Mono", "monospace", monospace; font-size: 18px; line-height: 24px; white-space: pre;"><span style="color: #fabd2f;">pcieDescriptionTable_reload_from_file</span></div>"]
subgraph 160326["<span style="white-space-collapse: preserve; background-color: rgb(255, 255, 255);">initialize_table_pCIeDeviceDescriptionTable</span>"]
182956["netsnmp_create_handler_registration"]
763948["netsnmp_table_helper_add_indexes"]
171373["netsnmp_register_table_iterator"]
593867["netsnmp_inject_handler_before"]
172914
end
subgraph 873181["<div style="color: rgb(235, 219, 178); background-color: rgb(29, 32, 33); font-family: "Victor Mono Medium", "Sarasa Term SC", Consolas, "FiraCode Nerd Font Mono", "Noto Sans Mono CJK SC", "Droid Sans Mono", "monospace", monospace; font-size: 18px; line-height: 24px; white-space: pre;"><span style="color: #fabd2f;">pcieDescriptionTable_reload</span></div>"]
683365["pCIeDeviceDescriptionTable_createEntry"]
878628
end
subgraph 994368["<div style="color: rgb(235, 219, 178); background-color: rgb(29, 32, 33); font-family: "Victor Mono Medium", "Sarasa Term SC", Consolas, "FiraCode Nerd Font Mono", "Noto Sans Mono CJK SC", "Droid Sans Mono", "monospace", monospace; font-size: 18px; line-height: 24px; white-space: pre;"><span style="color: #fabd2f;">pcieDescriptionTable_reload_from_file</span></div>"]
239661["fopen("/var/lib/smbios/pciedevice", "r")"]
end
%% Mermaid Flow Diagram Link
%% Keep this link to make future edits to your diagram
%% https://www.mermaidflow.app/flowchart#N4IgZgNg9g7iBcoB2UAmBTAzgg2qGAlqgC4AWCATAIwCsANCKegQOanEIAcADA0QiAAsANmHVOIBgAcomAsQJQkCUAA8ENQRQB0AZl0BOGgcFat3TgwCeCU9oo0A7J2GOD3J7to0Avg1QAhsQBKiAAxhABmJhYuAC6DJjEVhCx8DgJIJEARugQAgRI8gD6UgDCAJLoACLoAG4EYegACgBOUFLorcmSIKgErehhCkoCACoAQr2tAUgA1pjVMzDKiH4gUgGDSMQASrNzCLx9ywDKy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yc+RqZui+kybq2g1k-ypOhgLgmgJK36TySmtIIkcosChCS2T2pGIAL8oUwc4amQYILAgEoA6yUoYQNwSQtevQE0WwcwXQ5wWwxkIAEBygDAxhrQphrQYuz6MghQHAfAOwXQ8YqoAA6pGsSE2qEAKlAKYb4a1lQOvG1K0E0AINaOIL8JEU0AABKcpLLSi9DBD1gWYzpNbpFbCaHEDJFOblwUC9CJoaExgU4RTWRRzGC9CzAEDGFxYG59BIKsQbxnhBGmHwCGzZBUC9HZCKhxDrxUaT40TmQ6HhD6FbQTRGEmFmEZGWHWGzH2FdBOFrYUw7ClEeEzDDAIihG3rHDtGgCdHoD7G6ThGJAJHlw9Z9YVxXGFFcrFG5GZGWGj6B6lx5EWYPGpHj4JrPrlHRgmBE48CGBzZ1FFCNGjFNytHHFAo4AVzXDBGCw9F9F9GDHDF64facjB4TF6EGEzG2FzGtDmHdACBLGEkrGOEVjrGuFbHgZeF7F+GHFAqwntAhGRoXF3E3BRHlwx7vyojclJEpFPEfEvECDKFvzPH5HfHXGlH-GoCaHRhaC0hCHUBgkMD1GQlYkJYwkIkhbwknHdH9Fol-gYksHxY+CZANDoAwAyCkmZbRhj5KaJQOC9amAlY2qmgxQWihTwJ6jH6GgUBAIMAjhQCGHwAr42j-LO5fISTxQ9KiBXp9AEAyQzATQCLBDVC6k147A7RBDgahAKDECpHVApnEQvRjDyCXDOgDAggDZSiTC9D9DDoEC5jS5JgTQTT+rtmRDRDNrrAECYAi6qB2nEDNCzB5AADynQqwKyDA7wUARYEAIuCp6AYwt2rEqANwUIK6QSa5G5dx4s4IDA5ReZlJ65qqLhmxDA2CAgKJ-RzW850AS546F5pqExkWD2TBt5UohsC23AvQpC5CbUFY30XUd5YAkFUFgFNYGArQYFsGv5-5MFrQcFYwkYZCwS0QGyaI-AfAiwUQTA2pZkQAA
flowchart
466218["init_pCIeDeviceProperty"] --> 160326["initialize_table_pCIeDeviceDescriptionTable<br>"]
172914["netsnmp_inject_handler_before"] --> 873181["<div>pcieDescriptionTable_reload<br></div>"]
878628["pcieDescriptionTable_reload_from_file"] --> 994368["<div>pcieDescriptionTable_reload_from_file<br></div>"]
subgraph 160326["initialize_table_pCIeDeviceDescriptionTable<br>"]
182956["netsnmp_create_handler_registration"]
763948["netsnmp_table_helper_add_indexes"]
171373["netsnmp_register_table_iterator"]
593867["netsnmp_inject_handler_before"]
172914
end
subgraph 873181["<div>pcieDescriptionTable_reload<br></div>"]
683365["pCIeDeviceDescriptionTable_createEntry"]
878628
end
subgraph 994368["<div>pcieDescriptionTable_reload_from_file<br></div>"]
239661["fopen("/var/lib/smbios/pciedevice", "r")"]
end
|
Beta Was this translation helpful? Give feedback.
-
I am able to use VScode and markdown plugins and able to render locally
we need to enclose the mermaid syntax inside this markup |
Beta Was this translation helpful? Give feedback.
-
There is another "closed source" option, which is https://www.mermaidchart.com, developed by the same people who worked on mermaid.live as well as the original creator of mermaidJs. |
Beta Was this translation helpful? Give feedback.
I haven't seen any open-source projects that can do this. But there is a closed-source project called Mermaid Flow that does this https://www.mermaidflow.app/! Unfortunately it currently only supports Mermaid flowcharts, but they are planning on supporting other diagrams in the future! You can track their roadmap here: https://github.com/ted-marozzi/mermaid-flow-feedback