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.1.tar.gz (2.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.1-py3-none-any.whl (3.1 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: streamlit_vis_network-0.1.1.tar.gz
  • Upload date:
  • Size: 2.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.1.tar.gz
Algorithm Hash digest
SHA256 b653f99041b77b75670e4e2b91dcc88d23acadfa367c6ec0ba5cd090a1d72437
MD5 840397a4eb07249cf9df8bb8d169a691
BLAKE2b-256 ca10edad12f75763a53f7cff1a6751fa2ea6405aa104112d66b656c39d1cfb6b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streamlit_vis_network-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ade79181b4522496f6598fcc23c7282bbe74af2bcdb81dd2fdcc94babc74fb80
MD5 08aa4a96dc7c350f8a4f144a688b3877
BLAKE2b-256 06f10ad2a2ee98bd426b020c092d09241224dae4b3abc834cf2ddc2c4cfe8887

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