Skip to content
WeftKitBeta
Modules/WeftKitGraph
Neo4jAmazon Neptune

WeftKitGraph

Graph Database

Native property graph database with Cypher-like query language, BFS/DFS traversals, shortest path algorithms, and CSR/CSC storage format.

~15 μs

BFS 100-vertex traversal

CSR/CSC StorageCypher-like QLBFS/DFSPageRankAdjacency Lists
Features

Key Features

What makes WeftKitGraph stand out.

Native Graph Storage

CSR/CSC (Compressed Sparse Row/Column) format for efficient traversal operations. Adjacency lists with property payloads.

Cypher-like Query Language

Familiar graph query syntax for MATCH, WHERE, RETURN, CREATE, MERGE, DELETE operations. Pattern matching on subgraphs.

Graph Algorithms

BFS, DFS, shortest path (Dijkstra, A*), PageRank, connected components, community detection. Parallel execution for large graphs.

Property Graph Model

Nodes and edges with arbitrary key-value properties. Multi-label nodes. Named edge types. Bidirectional traversal.

In-memory Acceleration

Hot graph regions cached in memory for sub-microsecond traversal. LRU eviction with access frequency tracking.

Sub-graph Export

Export sub-graphs as JSON, GraphML, or Cypher statements. Integration with graph visualization tools.

Performance

Performance Targets

Real numbers from Criterion benchmarks on reference hardware.

1-hop traversal p99< 100 μs
Shortest path (1M nodes)< 10 ms
Traversals/sec> 500K
Compatibility

Wire Protocol

WeftKitGraph supports the Bolt Protocol (Neo4j compatible) protocol. Your existing tools just work.

neo4j-driverpy2neoneomodel
Code Example

Get Started in Seconds

Add WeftKitGraph to your Rust project and start querying.

graph.rs
rust
use weftkitgraph::prelude::*;

// Open or create a database
let db = Database::open("my_app.db")?;

// Use the module API
let result = db.query("SELECT * FROM users WHERE active = true")?;

for row in result.rows() {
    println!("{:?}", row);
}
Use Cases

Where to Use It

1

Social networks and relationship graphs

2

Fraud detection and graph analytics

3

Knowledge graphs and ontologies