Mocked up the generate dependencies graph function