Simplify the dependency_graph by using new mpl Graphs.