Check all graphs before code generation