Interactive Examples¶
These examples are marimo notebooks you can run locally for an interactive experience. Each page shows the full code with expected output.
Run Locally¶
Install the dependencies, then launch any example:
Available Examples¶
-
Graph Visualization
Build a social network, run PageRank and community detection, then visualize it interactively with anywidget-graph.
-
Vector Search
Store document embeddings, perform cosine similarity search and hybrid filtering, then explore the embedding space in 3D.
-
Fraud Detection
Model a transaction network, detect money laundering rings and mule accounts and score risk with PageRank.
-
NetworkX Integration
Convert Grafeo graphs to NetworkX, run centrality and clustering algorithms and visualize with matplotlib.
-
Arrow Export
Bulk export graph data to PyArrow, Polars and pandas. DuckDB integration, lazy evaluation, 10-100x faster at scale.
-
DuckDB Integration
Combine Grafeo graph storage with DuckDB analytical SQL queries via zero-copy Apache Arrow. JOIN nodes and edges, aggregate, and export to Parquet.