I'm trying to get from a GraphViz graph to a graph in Powerpoint. But, when it's inside of Powerpoint I would like to be able to edit the individual nodes, edges, boundaries. This means exporting the GraphViz as an image file won't work.
Does anyone know any path to get from GraphViz to Powerpoint?
You can achieve this by using LibreOffice. I've tested the process with LibreOffice 7.0.4.2.
- Export your graph as SVG in Graphviz (
-Tsvg
).
- Create a presentation in LibreOffice: File → New → Presentation
- Delete the elements in the slide (title & body boxes).
- Import the SVG file: Insert → Image
- Once the image is inserted, select it by left-clicking on it.
- Open the context menu by right-clicking on the image and choose Break.
- Save the presentation as .pptx: File → Save As... → Choose the file type .pptx in the dialog.
- Open the .pptx in PowerPoint.
- Select all the image components and copy them to your actual presentation.
- Edit the image.
(Of course, you can do 9. and 10. in reverse order.)