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.19-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ad02de5bfbf94031dbaa8d0132a2da97ed5eb6ae9ee8391bd6edef0bbe423f1 |
|
MD5 | ae517d29cefb3f47296c17b14d9a6dc6 |
|
BLAKE2b-256 | 00161c796db490de450ec85a067f9505aee6972fe72d82bffb47cb67f9e7862a |