Sets up dependencies between the parent, the constraint and the child using their respective tick functions. It creates a dependency graph between them so that they tick in the right order when evaluated.