fix dependence graph diagram