BusinessOptics / dash_interactive_graphviz

An interactive graphviz viewer for Dash
MIT License
37 stars 8 forks source link

Added click on edge function #4

Closed aegis1980 closed 3 years ago

aegis1980 commented 3 years ago

Sorry. Got trigger happy. Going to update usage_highlight.py. EDIT: 'usage.py' work find though

JHSaunders commented 3 years ago

Hey,

This looks good but needs a few changes.

Happy to debate the changes, but if these are made I will merge, and publish the new package.

aegis1980 commented 3 years ago

Cool. I wondered whether perhaps selected prop remains (ie node-only functionality is unchanged, no breaking changes) but is marked as "pending depreciation" (however that is done in a python/javascript world), to be replaced with selected_node and selected_edge? Will push code which does this in a mo (plus addresses your third point, I think). Yes on .vscode

PS Great work BTW! Forget to say before.

JHSaunders commented 3 years ago

I think that is a good system, I have checked the code and run the examples. Everything looks good. Thanks for updating the readme.

I have put a question on the plotly/dash forums to check what is the best practice around marking a property as deprecated, but in the mean time I am going to merge this in and publish it.

Thanks for the contribution.

JHSaunders commented 3 years ago

Release published: https://pypi.org/project/dash-interactive-graphviz/0.3.0/