Skip to content

v0.1.0

Choose a tag to compare

@StevenBtw StevenBtw released this 02 Feb 22:05
· 55 commits to main since this release

anywidget-graph v0.1.0

Interactive graph visualization for Python notebooks.

Features

  • Sigma.js rendering for performant large graph visualization
  • Graph.from_dict() - create from nodes/edges dictionary
  • Graph.from_cypher() - parse Cypher query results (Neo4j/Grafeo)
  • Interactive - node/edge click events, selection state
  • Universal - works with Marimo, Jupyter, VS Code, Colab

Installation

```bash
uv add anywidget-graph
```

Quick Start

```python
from anywidget_graph import Graph

graph = Graph.from_dict({
"nodes": [{"id": "a", "label": "Alice"}, {"id": "b", "label": "Bob"}],
"edges": [{"source": "a", "target": "b", "label": "knows"}]
})
graph
```