pub fn graph_with<F, R>(name: impl Into<String>, build: F) -> (Graph, R)where F: FnOnce(&mut GraphScope) -> R,
Build a graph and return extra metadata from the closure.