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
Built Distribution
Close
Hashes for streamlit_agraph-0.0.17-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1318552b0187032153ed62558389cc81e671c1ed7f7790ceb8455d9f43229ee4 |
|
MD5 | 90a74796b872b720c186e9e2060c8819 |
|
BLAKE2b-256 | 0ca2da70e3a57b89d18ca9ff8c5c2d1918555101f9e2244602d9175464398b38 |