Settings

Theme

Natively visualize NetworkX graphs using D3.js and pywebview (without electron)

github.com

31 points by byt3bl33d3r 5 years ago · 6 comments

Reader

ChiefOBrien 5 years ago

pywebview's About page says:

> pywebview is a lightweight cross-platform wrapper around a webview component that allows to display HTML content in its own native GUI window. You may think of as Electron for Python (minus huge executable sizes). It gives you power of web technologies in your desktop application, hiding the fact that GUI is browser based.

It's still as bad as electron and calling it native is a stretch.

  • _frkl 5 years ago

    I haven't looked at pywebview at all, and my experience with electron is also not very good. Apart from the 'native' misnomer, assuming the general concept of such a 'website-as-app' is an acceptable tradeoff in a certain situation, what exactly is bad with pywebview?

  • strken 5 years ago

    It uses a platform-native renderer instead of embedding most of Chromium like Electron does, so it's not the same thing. I'd imagine it's better in some ways (executable size) and worse in others (dealing with 4 different renderers).

Blahah 5 years ago

Nery nice, although I'm yet to encounter a situation where I was using NetworkX for anything small enough to be rendered in d3, especially interactively (assuming SVG).

What do people do with it that has such small graphs?

antman 5 years ago

Interesting also how that requirements.txt is produced

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection