Graph generation. CLean missing dependencies and modules.