eFrane / vuepress-plugin-mermaidjs

Vuepress plugin for mermaid.js diagrams
https://vuepress-plugin-mermaidjs.efrane.com
75 stars 21 forks source link

More graphs #26

Closed mmc41 closed 3 years ago

mmc41 commented 4 years ago

Again thanks for this great plugin and for updating to latest mermaid! .. I have been looking at more types of graph support than mermaidjs offers in vuepress and found markvis that also works inside markdown. See below:

markvis

What would be the best way to support this - could this plugin be made to support multiple engines ? (preferable I think that with multiple plugins that are doing almost the same integration to vuepress).

P.S: For feature completeness, there is of cause also GraphViz as shown below:

graphviz

eFrane commented 4 years ago

Thanks for opening the issue!

Yeah, I think that would have to be separate package(s). I have also been eyeing PlantUML for quite a while now. However, I would rather like to see more diagramming types come to Mermaid instead. Hm… I'll think about a possible solution. Maybe one graphing plugin which itself can have several adapters like Mermaid, Markvis, etc.

mmc41 commented 4 years ago

Sounds great with multiple adapters in the same vuepress plugin.

It does not look like Mermaid will have that many more diagrams soon, so the adapter approach would be best I think.

eFrane commented 3 years ago

I'll close this. This is a plugin for mermaidjs, turning it into a generic graph library support plugin would really explode the scope and make things harder for the current users.