ArcFlow
Company
Managed Services
Markets
  • News
  • LOG IN
  • GET STARTED

OZ brings Visual Intelligence to physical venues, a managed edge layer that lets real-world environments see, understand, and act in real time.

Talk to us

ArcFlow

  • World Models
  • Sensors

Managed Services

  • OZ VI Venue 1
  • Case Studies

Markets

  • Sports
  • Broadcasting
  • Robotics

Company

  • About
  • Technology
  • Careers
  • Contact

Ready to see it live?

Talk to the OZ team about deploying at your venues, from a single pilot match to a full regional rollout.

Schedule a deployment review

© 2026 OZ. All rights reserved.

LinkedIn
ArcFlow Docs
Get Started
  • Get Started
  • Quickstart
  • Installation
  • Project Setup
  • Platforms
  • Bindings
  • Licensing
  • Pricing
Capabilities
  • Vector Search
  • Graph Algorithms
  • Sync
  • MCP Server (AI Agents)
  • Live Queries
  • Programs
  • Temporal
  • Spatial
  • Trusted RAG
  • Behavior Graph
  • Agent-Native
  • Event Sourcing
  • GPU Acceleration
  • Intent Relay
Concepts
  • World Model
  • Graph Model
  • Query Language (GQL)
  • Graph Patterns
  • SQL vs GQL
  • Parameters
  • Query Results
  • Persistence & WAL
  • Error Handling
  • Observations & Evidence
  • Confidence & Provenance
  • Proof Artifacts & Gates
  • Skills
GQL / WorldCypher
  • Overview
  • MATCH
  • WHERE
  • RETURN
  • OPTIONAL MATCH
  • CREATE
  • SET
  • MERGE
  • DELETE
  • REMOVE
  • WITH
  • UNION
  • UNWIND
  • CASE
  • Spatial Queries
  • Temporal Queries
  • Algorithms Reference
  • Triggers
Schema
  • Overview
  • Indexes
  • Constraints
  • Data Types
Functions
  • Built-in Functions
  • Aggregations
  • Procedures
  • Shortest Path
  • EXPLAIN
  • PROFILE
Skills
  • Overview
  • CREATE SKILL
  • PROCESS NODE
  • REPROCESS EDGES
Operations
  • CLI
  • REPL Commands
  • Snapshot & Restore
  • Server Modes & PG Wire
  • Persistence
  • Import & Export
  • Docker
  • Architecture
  • Cloud Architecture
  • Sync Protocol (Deep Dive)
Guides
  • Agent Integration
  • World Model
  • Graph Model Fundamentals
  • Trusted RAG
  • Using Skills
  • Behavior Graphs
  • Swarm & Multi-Agent
  • Migration Guide
  • Filesystem Workspace
  • From SQL to GQL
  • ArcFlow for Coding Agents
  • Data Quality & Pipeline Integrity
  • Code Intelligence
Tutorials
  • Knowledge Graph
  • Entity Linking
  • Vector Search
  • Graph Algorithms
Recipes
  • CRUD
  • Multi-MATCH
  • MERGE (Upsert)
  • Full-Text Search
  • Temporal Queries
  • Batch Projection
  • GraphRAG
Use Cases
  • Agent Tooling
  • Knowledge Management
  • RAG Pipeline
  • Fraud Detection
  • Sports Analytics
  • Grounded Neural Objects
  • Behavior Graphs
  • Autonomous Systems
  • Digital Twins
  • Robotics & Perception
Reference
  • TypeScript API
  • GQL Conformance
  • Compatibility Matrix
  • Glossary
  • Data Types
  • Operators
  • Error Codes
  • Known Issues

Tutorial: Graph Algorithms

Graph algorithms reveal structure the world model already contains — influence, communities, bottlenecks. In ArcFlow, they run directly against the live graph: no projection lifecycle, no separate catalog, no setup.

No projection lifecycle#

Traditional graph algorithm systems require: create catalog → project graph → run algorithm → drop projection.

In ArcFlow: just run it.

// That's it. No projection. No catalog.
const pr = db.query("CALL algo.pageRank()")

PageRank#

Find the most important nodes in your graph:

import { openInMemory } from 'arcflow'
 
const db = openInMemory()
 
// Build a small web graph
db.batchMutate([
  "CREATE (a:Page {name: 'Home'})",
  "CREATE (b:Page {name: 'About'})",
  "CREATE (c:Page {name: 'Blog'})",
  "CREATE (d:Page {name: 'Contact'})",
  "CREATE (a:Page {name: 'Home'})-[:LINKS]->(b:Page {name: 'About'})",
  "CREATE (a:Page {name: 'Home'})-[:LINKS]->(c:Page {name: 'Blog'})",
  "CREATE (b:Page {name: 'About'})-[:LINKS]->(a:Page {name: 'Home'})",
  "CREATE (c:Page {name: 'Blog'})-[:LINKS]->(a:Page {name: 'Home'})",
  "CREATE (c:Page {name: 'Blog'})-[:LINKS]->(d:Page {name: 'Contact'})",
])
 
const pr = db.query("CALL algo.pageRank()")
for (const row of pr.rows) {
  console.log(`${row.get('name')}: ${row.get('rank')}`)
}
// Home has the highest rank (most incoming links)

Community Detection#

Find clusters of densely connected nodes:

// Louvain — fast, hierarchical communities
const communities = db.query("CALL algo.louvain()")
for (const row of communities.rows) {
  console.log(`${row.get('name')} → community ${row.get('community')}`)
}
 
// Leiden — more accurate for large graphs
const leiden = db.query("CALL algo.leiden()")

Centrality Measures#

Betweenness centrality#

Which nodes are bridges between communities?

const betweenness = db.query("CALL algo.betweenness()")
for (const row of betweenness.rows) {
  console.log(`${row.get('name')}: ${row.get('score')}`)
}

Closeness centrality#

Which nodes can reach all others most quickly?

const closeness = db.query("CALL algo.closeness()")

Degree centrality#

Which nodes have the most connections?

const degree = db.query("CALL algo.degreeCentrality()")

Path Finding#

All-pairs shortest paths#

const paths = db.query("CALL algo.allPairsShortestPath()")

Confidence-weighted paths#

Find the most reliable path (highest minimum confidence):

const path = db.query("CALL algo.confidencePath()")

Graph Properties#

// How many triangles exist?
const tri = db.query("CALL algo.triangleCount()")
 
// Local clustering coefficient
const cc = db.query("CALL algo.clusteringCoefficient()")
 
// Graph density (0 to 1)
const density = db.query("CALL algo.density()")
 
// Graph diameter (longest shortest path)
const diameter = db.query("CALL algo.diameter()")

Node Similarity#

Find nodes with similar connection patterns:

const similar = db.query("CALL algo.nodeSimilarity()")
for (const row of similar.rows) {
  console.log(`${row.get('node1')} ↔ ${row.get('node2')}: ${row.get('score')}`)
}

Available algorithms#

See the full list in the Compatibility Matrix.


See Also#

  • Graph Algorithms — full procedure reference with signatures and output schemas
  • Algorithms Reference — GQL syntax for all 27 procedures
  • GPU Acceleration — ArcFlow Adaptive Dispatch: automatic hardware routing for large graphs
  • Use Case: Knowledge Management — algorithms over a knowledge world model
Try it
Open ↗⌘↵ to run
Loading engine…
← PreviousVector SearchNext →CRUD