pub fn generate_dc_code(graph_dir: &Path) -> Result<String, Error>
Generates the contents of dc.generated.rs from the system graph in graph_dir.
dc.generated.rs
graph_dir
Returns an error if graph_dir cannot be read or contains invalid data.