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
173 stars 18 forks source link

Allow passing the graph to import in the constructor of GraphWidget #5

Closed yGuy closed 2 years ago

yGuy commented 2 years ago

It would be super-convenient to have a graph parameter in the GraphWidget constructor which directly imports the graph.

so you can simply write GraphWidget(graph = myGraphData)