pub fn check_graph_with_config( cfg: &Config, graph: &CodeGraph, source: &str, lang: Lang, scheme: &str, report: bool, ) -> Result<SourceReport>