WorldCypher: Graph Algorithms

ArcFlow includes 29 graph algorithms that run directly — no projection catalog, no setup, no teardown.

Centrality#

ProcedureDescription
CALL algo.pageRank()PageRank (20 iterations, damping 0.85)
CALL algo.confidencePageRank()Confidence-weighted PageRank
CALL algo.betweenness()Betweenness centrality (bridge nodes)
CALL algo.closeness()Closeness centrality (reachability)
CALL algo.degreeCentrality()Degree centrality (connection count)

Community detection#

ProcedureDescription
CALL algo.louvain()Louvain modularity optimization
CALL algo.leiden()Leiden (improved Louvain)
CALL algo.communityDetection()Generic community detection
CALL algo.connectedComponents()Connected components

Similarity & clustering#

ProcedureDescription
CALL algo.nodeSimilarity()Node similarity by neighborhood
CALL algo.clusteringCoefficient()Local clustering coefficient
CALL algo.kCore()K-core decomposition

Graph properties#

ProcedureDescription
CALL algo.triangleCount()Count triangles
CALL algo.density()Graph density (0–1)
CALL algo.diameter()Longest shortest path

Path finding#

ProcedureDescription
CALL algo.allPairsShortestPath()All-pairs shortest paths
CALL algo.nearestNodes()Find nearest nodes
CALL algo.confidencePath()Path with highest minimum confidence
ProcedureDescription
CALL algo.vectorSearch(index, vector, k)vector similarity search
CALL algo.similarNodes()Find similar nodes
CALL algo.hybridSearch()Combined vector + graph search

AI / RAG#

ProcedureDescription
CALL algo.graphRAG()Graph-augmented retrieval
CALL algo.graphRAGContext()RAG context generation
CALL algo.graphRAGTrusted()Trusted RAG with provenance

Analytics#

ProcedureDescription
CALL algo.compoundingScore()Compounding score calculation
CALL algo.contradictions()Find contradictions in data
CALL algo.audienceProjection(weights)Weighted audience projection
CALL algo.factsByRegime(args)Facts filtered by time regime
CALL algo.multiModalFusion()Multi-modal data fusion

Usage pattern#

// All algorithms: just call them
const pr = db.query("CALL algo.pageRank()")
for (const row of pr.rows) {
  console.log(row.get('name'), row.get('rank'))
}
 
// Live (incrementally maintained)
const live = db.query("LIVE CALL algo.pageRank()")

See Also#

  • Graph Algorithms — full algorithm catalog with signatures and output schemas
  • GPU Acceleration — ArcFlow Adaptive Dispatch: automatic hardware routing for large graphs
  • Live Queries — LIVE CALL algo.pageRank() for continuously maintained algorithm results
  • Trusted RAG — algo.graphRAG() in a confidence-filtered retrieval pipeline
Try it
Open ↗
Loading engine…