semvec/pypi-packages huggingface dataset:
streamlit-streamlit-agraph 0.0.6
Interactive Graph Vis for Streamlit.
Requires Python: >=3.6

Based on [react-d3-graph](https://www.npmjs.com/package/react-d3-graph)


## Install

`pip install streamlit-agraph`

## Use
```python
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" )
```

![](https://github.com/ChrisChross/streamlit-agraph/blob/master/imgs/example.png)