Interactive Graph Vis for Streamlit.
Project description
Based on react-d3-graph
Install
pip install streamlit-agraph
Use
import streamlit
from streamlit_agraph import agraph
nodes = ["Harry","Sally","Peter","Chris"]
edges = [("Harry","Sally"),("Peter","Chris")]
return_value = agraph(nodes=nodes,
edges=edges,
nodeHighlightBehavior="true",
node_color="blue", node_size=1000,
highlightStrokeColor="blue",
highlightColor="lightblue" )
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
streamlit-agraph-0.0.20.tar.gz
(683.1 kB
view hashes)
Built Distribution
Close
Hashes for streamlit_agraph-0.0.20-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 405494e2f7dc36db66a194749c21925f0624d1fd9518d1a03943b889b63c0e23 |
|
MD5 | e407b9cd22ed94947903300a8bd2c343 |
|
BLAKE2b-256 | eb49552a6a9ac4a4317b96b3e249892b911fa51c0b4e75d3204a0857e3e97371 |