renamed vertices to parameters, edges to dependencies
pass the dependenciy type correctly