Skip to main content

Network graph visualization in Streamlit using vis.js

Project description

streamlit-vis-network

Streamlit component that allows you to 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.1.2.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.1.2-py3-none-any.whl (4.2 MB view details)

Uploaded Python 3

File details

Details for the file streamlit_vis_network-0.1.2.tar.gz.

File metadata

  • Download URL: streamlit_vis_network-0.1.2.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.1.2.tar.gz
Algorithm Hash digest
SHA256 9d7cb8c39850aca5ce3b46bdc732c09e557ab2918b2477b9d8ba9f26638791b8
MD5 86a430d712b62267b33fee4614057443
BLAKE2b-256 bcabad8af261f0eff0de2d4a9bbc6e90f310df5bcb02d70f9313c4e87e084494

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streamlit_vis_network-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0caf363fcf4f39c17351e80163f636855183b3adec56f4c5138074cd12144f06
MD5 69e5dabc77aa6a005f5a6e6c7daf6e2b
BLAKE2b-256 af765e92587b6e8f48eb740707641adfdc5795f72b518aeefa3adaefbb34da44

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