Skip to content

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:

uv add grafeo anywidget-graph anywidget-vector marimo numpy networkx matplotlib
marimo run examples/graph_visualization.py

Available Examples

  • Graph Visualization


    Build a social network, run PageRank and community detection, then visualize it interactively with anywidget-graph.

    View Example

  • Vector Search


    Store document embeddings, perform cosine similarity search and hybrid filtering, then explore the embedding space in 3D.

    View Example

  • Fraud Detection


    Model a transaction network, detect money laundering rings and mule accounts and score risk with PageRank.

    View Example

  • NetworkX Integration


    Convert Grafeo graphs to NetworkX, run centrality and clustering algorithms and visualize with matplotlib.

    View Example