Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add export to graphml function to widget #10

Closed
enzococca opened this issue Jun 27, 2022 · 5 comments
Closed

Add export to graphml function to widget #10

enzococca opened this issue Jun 27, 2022 · 5 comments

Comments

@enzococca
Copy link

If possible insert a function to export to graphml?

@yGuy
Copy link
Member

yGuy commented Jun 27, 2022

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.

@enzococca
Copy link
Author

enzococca commented Jun 27, 2022 via email

@yGuy yGuy changed the title Add export to graphml Add export to graphml function to widget Jun 27, 2022
@yGuy
Copy link
Member

yGuy commented Jun 27, 2022

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.

@enzococca
Copy link
Author

enzococca commented Jun 27, 2022 via email

@yGuy
Copy link
Member

yGuy commented Jul 27, 2022

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.

@yGuy yGuy closed this as not planned Won't fix, can't repro, duplicate, stale Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants