mermaid-js / mermaid

Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown
https://mermaid.js.org
MIT License
68.79k stars 6.09k forks source link

Export to Powerpoint/Google Slides #3239

Open virgildotcodes opened 1 year ago

virgildotcodes commented 1 year ago

Is your feature request related to a problem? Please describe. I'm not sure how feasible this is, but I figured it was worth putting out there. I would love it if there was a way to export flowcharts produced by Mermaid to Powerpoint or Google Slides.

Right now you can export an image, but ideally you'd be able to actually edit the text and the nodes just as if you had created the chart natively in Powerpoint or Google Slides.

Describe the solution you'd like As expressed above, an ideal solution would be a straightforward function you could invoke that would output a .ppt compatible file that would allow users to open and then edit the flowcharts in software like PowerPoint and Google Slides

Describe alternatives you've considered I've looked at other charting software like gojs, and googled extensively to see if there are any types of convoluted steps you can take to make this happen. I've come up empty.

Additional context Nothing much else to add, except that I understand that this is a pretty major feature request, and I'm not sure of how technically challenging it would be. I do think it would be an amazing addition to Mermaid, and it would additionally help it stand out from the crowd by giving it a pretty awesome piece of functionality that doesn't seem to be present in any of the competitors.

knsv commented 1 year ago

Good idea! Will investigate feasibility

KerstinKeller commented 1 year ago

This would be truly amazing! (I don't know how many countless hours I have spent trying to create flow charts in power point, dragging and dropping lines and shapes...)

florianmonfort commented 1 year ago

Would love this as well! Notion and other tools support this, would be great to have this as an add-on in Powerpoint as well.

lucasjinreal commented 1 year ago

Hoping for this feature as well

jheinrichs79 commented 1 year ago

I am glad to see this approved! I would love to see this implemented. It also might be good to work with MS to get Mermaid rendering within PowerPoint.

zlatko-minev commented 4 months ago

+1

zhuzhzh commented 3 months ago

+1

sancarn commented 1 week ago

It also might be good to work with MS to get Mermaid rendering within PowerPoint.

Somewhat agree with this, but one of the benefits might be outputting as autoshapes allows modification after writing the mermaid (touch up node positions etc.). Would be good to have both ideally.

Someone could re-implement Mermaid in VBA... But for a direct approach from the library, you could generate pptx using PptxGenJS :) The devil's in the details though.