Skip to main content

Streamlit component that allows you to create network visualizations.

Project description

streamlit-vis-network

Streamlit component that allows you to do visualize networks using vis.js

Installation instructions

pip install streamlit-vis-network

Usage instructions

import streamlit as st

from streamlit_vis_network import streamlit_vis_network

nodes = [{"id": 1, "label": "node 1"}, {"id": 2, "label": "node 2"}]
edges = [{"from": 1, "to": 2, "label": "edge"}]

# display network visualization
value = streamlit_vis_network(nodes=nodes, edges=edges)

# display selected node
st.write(value)

Demo

til

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

streamlit-vis-network-0.0.1.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

streamlit_vis_network-0.0.1-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

File details

Details for the file streamlit-vis-network-0.0.1.tar.gz.

File metadata

  • Download URL: streamlit-vis-network-0.0.1.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for streamlit-vis-network-0.0.1.tar.gz
Algorithm Hash digest
SHA256 8b9093115a955de4c908fc84fed219c514fa8a73c3db2258db978ee5bb5d08f0
MD5 c5e3aa3964f6240e97209713ac016830
BLAKE2b-256 33fc65f94ddd6718d1737df1500043fae2e9b339a424dabf01a8a3d8721520f8

See more details on using hashes here.

File details

Details for the file streamlit_vis_network-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for streamlit_vis_network-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 71b4431dfec273c03ccd3deedec9f00d8cfd8df4a6fbf9ea10fa84e779fd08d4
MD5 0044040976a61fb55011b5b227da7d37
BLAKE2b-256 9ba782c347a309a02f59b6a1dea24427562efad4c730db8668b2c72c9e7000b8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page