yWorks / yfiles-jupyter-graphs

The home of the Jupyter notebook graph visualization widget powered by yFiles for HTML
https://www.yworks.com/products/yfiles-graphs-for-jupyter
Other
133 stars 14 forks source link

Feature request: actions/callbacks for selected nodes #31

Open Syntopia opened 1 year ago

Syntopia commented 1 year ago

It would be great if there was an option to add new functions to the viewer.

E.g. add a button in a tab pane for triggering a Python function with the selected nodes as arguments. And allow the Python function to modify/update the graph.

I'm thinking along the lines of adding functionality like in Bloom - but this could be so much more powerful because you could integrate with all kinds of external sources from your code.

yGuy commented 1 year ago

That's a great idea!

We actually had this on our internal wish-list since day one and it's not that difficult to implement, at all. Once we find that time, this is high up on our TODO-list. It may take a couple of more weeks, though, since it's quite busy here at the moment. Please stay tuned!