add Scheduler::checkGraph