GithubHelp home page GithubHelp logo

kennethleungty / pyvis-network-graph-streamlit Goto Github PK

View Code? Open in Web Editor NEW
43.0 2.0 15.0 91.84 MB

Deploying Pyvis Interactive Network Graphs in Streamlit

License: MIT License

Python 8.21% HTML 91.79%
pyvis streamlit network networkgraph graph

pyvis-network-graph-streamlit's Introduction

Deploy Interactive Pyvis Network Graphs on Streamlit

Link to app: https://share.streamlit.io/kennethleungty/pyvis-network-graph-streamlit/main/pyvis_network_app.py
Link to article: https://towardsdatascience.com/how-to-deploy-interactive-pyvis-network-graphs-on-streamlit-6c401d4c99db

demo-gif

Step 1

  • Install Streamlit, Pyvis and NetworkX packages (See requirements.txt)

Step 2

  • Open CLI and change directory to local path of this repo e.g. cd 'C:/GitHub/Pyvis-Network-Graph-Streamlit'

Step 3

  • In CLI, execute streamlit run pyvis_network_app.py

pyvis-network-graph-streamlit's People

Contributors

kennethleungty avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

pyvis-network-graph-streamlit's Issues

ModuleNotFoundError: No module named 'streamlit.web'

PS C:\react-graph\Pyvis-Network-Graph-Streamlit> streamlit run .\pyvis_network_app.py
Traceback (most recent call last):
File "c:\python380\lib\runpy.py", line 192, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\python380\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Python380\Scripts\streamlit.exe_main
.py", line 5, in
ModuleNotFoundError: No module named 'streamlit.web'

multiselect open a new tab for each selection

hey kenneth, thanks for this tutorial. I am trying to run your code but I am facing an issue. whenever I select a node, a new tab will be open with a new visualization instead of refreshing the same page. do you know how to fix this issue?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.