Geomerge Demo
This demo shows how to store and read data from Geomerge.
The demo:
- loads the compiled
paths.jsonschema, - creates a Geomerge store,
- inserts a small graph dataset in one transaction,
- reads the inserted edge back,
- persists the store to bytes,
- reloads it, and checks that the restored store matches the original.
Run
cargo run -p geomerge-demo
Expected output includes table and law counts, row counts for graphs, vertices, and edges, edge endpoints, and persisted byte size.
Test
cargo test -p geomerge-demo
The tests cover the successful store, read, and persistence round trip, plus a rejected invalid edge insert that must leave the store unchanged.