create dependency digraph