WimYedema / dagviz

Visualization for DAGs
Apache License 2.0
37 stars 5 forks source link

Export Dagre Render to SVG #10

Open Enprogames opened 9 months ago

Enprogames commented 9 months ago

Very useful project! I'm working on a project where I'm visualizing huge DAG graphs. I've been using ipycytoscape, but it uses too much RAM for very large graphs.

From that I understand, dagviz currently only supports exporting using the metro layout. I was wondering if there are any plans to support the svg file format for the dagre layout. Thanks in advance.

WimYedema commented 9 months ago

Thanks! I wasn't planning on that, but I can see how that can be useful. I don't have the time myself to do this, but it shouldn't be too hard with some javascript knowledge, the SVG is basically already there in generated HTML...

Enprogames commented 9 months ago

Thanks! I wasn't planning on that, but I can see how that can be useful. I don't have the time myself to do this, but it shouldn't be too hard with some javascript knowledge, the SVG is basically already there in generated HTML...

Interesting! Sounds like it wouldn't be too bad then. If I find some free time and motivation I will look into that.