'Set the children of the transform, to let the invalidation
system know which transforms can invalidate this transform.
Should be called from the constructor of any transforms that
depend on other transforms.'

def set_children(self, *children):

    for child in children:
        child._parents[id(self)] = weakref.ref(self)
