Skip to content
Aditya Mukhopadhyay edited this page May 19, 2026 · 10 revisions

Minigraf Wiki

Welcome to the Minigraf wiki. Use the sidebar or the links below to navigate.

Tutorials

A step-by-step introduction to Minigraf's Datalog dialect, driven by a real-world e-commerce storyline. Each section builds on the last.

Cookbook

Problem-oriented recipes for common Minigraf patterns. Each recipe is self-contained: a one-line problem statement, the Datalog (or Rust API where needed), and brief notes.

Pages

  • Datalog Reference — Complete syntax reference: facts, queries, recursive rules, bi-temporal operators, value types, and the EDN command syntax
  • Architecture — Module structure, EAV data model, file format (v7), WAL layout, storage internals, and cross-platform workspace crates
  • Use Cases — Detailed guides for the three primary deployment targets: AI agents, mobile apps, and WASM/browser
  • Comparison — Side-by-side comparison with XTDB, Cozo, Datomic, GraphLite, petgraph, IndraDB, SurrealDB, and time-series databases; temporal vs. time-series explainer
  • Learning Resources — Curated links for Datalog, temporal databases, and SQLite internals
  • Performance Tuning — cost model, configuration knobs, query patterns, and benchmark reference

Packages

Platform Package
Rust crates.io/crates/minigraf
Browser WASM @minigraf/browser on npm
WASI (Node.js) @minigraf/wasi on npm
Node.js minigraf on npm
Python minigraf on PyPI
Java/JVM minigraf-jvm on Maven Central
Android, iOS, C, WASI binary GitHub Releases

Quick links

Clone this wiki locally