Interactive Graph Vis for Streamlit.
Project description
Based on react-d3-graph
Install
pip install streamlit-agraph
Use
import streamlit_agraph
import streamlit
nodes = ["Harry","Sally","Peter","Chris"]
edges = [("Harry","Sally"),("Peter","Chris")]
return_value = graph(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.7.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for streamlit_agraph-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c34b635c326b3d1dce3639990f8f1e5369b2ff19b1f5c6515282a6f46a342ccf |
|
MD5 | 48c7c5a6e9c54ed8f88e0dd9f5ac3913 |
|
BLAKE2b-256 | a3491d26ca52095b77626dda33c26b7fe112817537f3b8fac85bef43bbafb68c |