pub fn to_graph_json(module: &Module) -> Value
JSON model of the full graph: nodes with labels, edges as id pairs (deterministic).