hbmartin / graphviz2drawio

Convert graphviz (dot) files to draw.io / lucid (mxGraph) format. Beautiful and editable graphs in your favorite editor.
https://pypi.org/project/graphviz2drawio/
GNU General Public License v3.0
186 stars 32 forks source link

node shapes should be respected #4

Closed jcaplan closed 6 years ago

jcaplan commented 6 years ago

Basic shapes should be supported (box, egg, hexagon, octagon, parallelogram). Conversion to rectangles is not ideal as shapes are usually basic vocabulary in many graph notations e.g. https://areyoumodeling.files.wordpress.com/2015/02/gsn.png

hbmartin commented 6 years ago

Thanks a lot for this report. Working on this and the other issues and will have an update out in a few days.

jcaplan commented 6 years ago

Awesome! I’ve got a ton of generated dot files that need to start being edited manually and not everybody’s a programmer. draw.io would be ideal compared to svg editors. This project is a life saver! Much appreciated 😁

hbmartin commented 6 years ago

Will have a commit up for this issue later today

hbmartin commented 6 years ago

@jcaplan fixed in https://github.com/hbmartin/graphviz2drawio/commit/13490c60c3e4c87cc08f9238c7e8f12237b4ff75 Check out the results!

screenshot 2018-09-05 15 05 11

I opened a new issue for the edge positioning: https://github.com/hbmartin/graphviz2drawio/issues/7