Gephi is an Awesome Graph Algo and Vis tool! If you would like to visualize your data on NebulaGraph with it, this is the way to go.
nebulagraph-gephi-1080p.mp4
Features:
- Query NebulaGraph
- Render results
- Export result to a gexf file for Gephi
- Download the HTML file for any renderable graph
- Download CSV results for any query(or Multiple Queries)
- Graph Algorithm and Visualization with Gephi-Lite
Render Multiple Queries, and export
GEXF
,HTML,
orCSV
files.
Connect to NebulaGraph, then make queries, multiple queries will be merged in one Graph, we could download single
.html
files to embed in your blog, or webpage. Rendered like
this
.
Embed the rendered graph in your blog:
<iframe
src="https://www.siwei.io/demo-dumps/adhoc-graphs/nebulagraph_export_supply_chain.html"
width="100%"
height="500px"
></iframe>
Load into Gephi-Lite!
Gephi-Lite Graph, imported from
.gexf file
exported from the query.
Installation
git clone https://github.com/wey-gu/NebulaGraph-Gephi.git && cd NebulaGraph-Gephi
python3 -m pip install -r requirements.txt
Run
streamlit run nebulagraph-gephi-exchange.py
Optionally, with the docker
docker-compose up -d
Or, if you are using the NebulaGraph Docker extension, it's already been included since 0.4.12
Go to here and one click to try it!
- Gephi/Gephi-Lite, the amazing open-source project makes Graph Analytics in the Browser so very easy and elegant!
- Streamlit, the best lib& community makes py-script boy like me to create decent data & GUI-ish things.
- PyVis, the best lib makes graph rendering so very smoothly in pure Python.