Hi! My high level problem is this:
I can generate a snazzy interactive network graph with pyvis.network (a python package)
I can generate fancy controls and buttons with QT
So far, I can't get them to communicate with each other.
Solution Attempt 1:
I generate the pyviz object and write to html.
then load the html in my widget:
(into a QtWebEngineWidgets.QWebEngineView)
self.load(QtCore.QUrl().fromLocalFile(myfile.html) )
that works great... but swimming through all the methods I couldn't find how to access the data (it's embedded in a javascript script object)
Solution Attempt 2:
I can't find a way to load the python object pyvis.network itself into a widget (bypassing write to html)
Any thoughts ideas? Let me know if you need more info.
Bookmarks