'Update graph with data from a list of ``(obj, deps)`` tuples.'

def update(self, it):

    tups = list(it)
    for (obj, _) in tups:
        self.add_arc(obj)
    for (obj, deps) in tups:
        for dep in deps:
            self.add_edge(obj, dep)
