Closed enzococca closed 2 years ago
Do you mean a function to export the graphml as a string variable to python? Could you suggest some API? like
widget.export_GraphML()
?
You can already export the graph to graphml with one additional step, in an interactive manner: Open the graph in yEd-live with the button, and then use the save as file option from there.
Hi sebastian, yes I mean to export like widget.export_graphml.
I wrote a parser xml to export for yed graphml from a dot file made by graphviz.
If you are interested I can share with you
E
Il lun 27 giu 2022, 12:21 Sebastian Müller @.***> ha scritto:
Do you mean a function to export the graphml as a string variable to python? Could you suggest some API? like
widget.export_GraphML()?
You can already export the graph to graphml with one additional step, in an interactive manner: Open the graph in yEd-live with the button, and then use the save as file option from there.
— Reply to this email directly, view it on GitHub https://github.com/yWorks/yfiles-jupyter-graphs/issues/10#issuecomment-1167169696, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2P5KBCQB23TP46LTLRN3TVRF6BFANCNFSM5Z5TNF7A . You are receiving this because you authored the thread.Message ID: @.***>
Regarding the dot file export/import. Does it do much more than the structure? yEd-Live already has basic graphviz dot file import - just drop the dot file into yed-live and it will load immediately.
I forget to write: The graphml generated I import in yed desktop after swimline I save it again in graphml. This graphml I use like connector in blender for 3D recostruction
E
Il lun 27 giu 2022, 16:51 Enzo Cocca @.***> ha scritto:
Yes you are right. In my workflow of my system(GIS plugin in python for QGIS software) after generated a graphml with a template I open it with yed desktop to do a swimline and export in jpg.
With yed in Jupyter i think I could do all in my system without recall other system out of my. This is more confortable for an user experience.
So from this consideration It is my request.
Best E
Il lun 27 giu 2022, 13:58 Sebastian Müller @.***> ha scritto:
Regarding the dot file export/import. Does it do much more than the structure? yEd-Live already has basic graphviz dot file import - just drop the dot file into yed-live and it will load immediately.
— Reply to this email directly, view it on GitHub https://github.com/yWorks/yfiles-jupyter-graphs/issues/10#issuecomment-1167261631, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2P5KFNK72EKWYH37QY2JTVRGJONANCNFSM5Z5TNF7A . You are receiving this because you authored the thread.Message ID: @.***>
I am not convinced that this is a useful feature to have in a notebook. Exporting the graphml feels like trying to automate the layout algorithms, which is what we explicitly exclude in the license terms. For the interactive scenario, clicking the export to yed-live button will let you save the graphml in a separate step, interactively.
If possible insert a function to export to graphml?