Some examples of using nextgraph client library
nextgraph
run them with:
cargo run -p nextgraph --example in_memory cargo run -p nextgraph --example persistent
See the code: