generate dependency graph model