let intersect sourceid targetid =
    Depgraph.add_isect (cur_graph ()) sourceid targetid