Traverse in the Browser (WASM)

The full graph engine, in a browser tab. No install, no server, no account.

Open traverse.truespar.com

What it is

A WebAssembly build of Traverse that runs the same Cypher language and the same 36+ graph data science algorithms as the server - only it runs inside a browser tab instead of on a machine you have to administer. You get Studio, the visual query editor, and the algorithm library; you just don't get a server.

Data lives in the browser'sOrigin Private File System. Close the tab, come back tomorrow - your databases are still there. Clear site data and they're gone. Nothing leaves your browser.

Quick start

  1. Open traverse.truespar.com.
  2. A short loading splash appears while the engine initializes, then Studio mounts.
  3. You land on the Movies sample (a small actors-and-films graph). Pre-saved queries are available in the Query Palette (Ctrl+P).
  4. Open the Examples panel to load larger pre-built samples or import your own data via Cypher or CSV.

Sample databases

The Examples panel ships several pre-built databases that load in a few seconds:

SampleNodesEdgesSizeUse case
Movies~40~65~10 KBFirst Cypher patterns
OurAirports9,5099,2601.8 MBHierarchical aggregates
OpenFlights9,50973,3075.5 MBRoutes / shortest path
Pokec (small)10,000121,7166.9 MBFirst GDS runs
Pokec (medium)100,0001.77M97 MBLarger GDS workloads

What's the same as the server build

  • The Cypher language - same grammar, same semantics.
  • The GQL dialect - the ISO/IEC 39075 parser ships in the browser build, and the Studio dialect picker works the same in-tab as against a server.
  • The full algorithm catalog - PageRank, Louvain, Dijkstra, FastRP, and 30+ others.
  • The database file format. Download a .tvdb from the browser, load it on the server, or the other way around - the files are interchangeable.
  • Studio: schema browser, query editor, graph visualization, GDS drawer.
  • ML inference - models trained on the server (.tvmodel) can run predictions in a browser with the traverse-ml-wasm package built from the repository (not used by Studio, not on npm yet).

What's different

  • Single-user. The browser tab is the engine. Nobody else can see your data.
  • No external protocols. The browser tab cannot use Bolt or gRPC. If you need to connect from Python, .NET, Java, or any other language, use the server.
  • Memory ceiling. The engine's memory is capped at 1 GB (threads need a fixed, shared memory). Graphs up to a couple of million edges are comfortable.
  • No Graph Assistant. The assistant needs a server that holds a model's key; it's hidden in the browser build.
  • HTTPS required. Browsers only allow the engine to use threads on secure pages with the right security headers. Our hosted demo handles this for you; if you self-host, see theembedding guide.
  • No accounts. Nothing to sign up for or install.

Sharing queries

Use the Share button in the query editor to copy a URL that contains the query itself. Send it in chat or email; whoever opens it lands in Studio with the editor pre-filled. The link is self-contained - the query travels inside the URL, nothing is uploaded to a server.

When to use which

Use caseRecommended
Trying Traverse for the first timeBrowser
Sharing a query in a blog post or chatBrowser
Teaching Cypher / running a workshopBrowser
Embedding a graph database in your own web appBrowser, via the npm package
Anything multi-userServer
Graphs larger than ~1 GB in memoryServer
Connecting from Python / Java / Go / .NETServer
Production workloadsServer

Limits

  • Memory. The engine's memory is capped at 1 GB. Pokec medium (about 1.8 million edges, 100 MB on disk) loads fine; bigger graphs need the server.
  • First-load size. A few megabytes the first time the page loads; cached after that.
  • Per-origin storage. Each domain has its own private storage, so moving the same WASM build to a different subdomain gives users a clean slate.
  • Browser support. Recent Chrome, Edge, Firefox, and Safari (2022 or later). Older browsers see a clear error explaining what's missing.

Next steps