pub fn whole(graph: Graph) -> Result<Graph, String>Expand description
A graph that is to be committed as data, refused if it is a prefix: a graph past
MAX_NODES is shown to a person truncated, but a projection written to the repository
that silently stopped at the bound would drop whatever sorted past it from every reader.
use majordomus_cli::graph::{whole, Builder};
let g = Builder::new("g", "G", "nothing yet", "example").finish();
assert!(whole(g).is_ok(), "a graph that stopped nowhere is whole");