Return the list of nodes in the :class:`Flow` that depends on this :class:`Node`

        .. note::

            This routine assumes the entire flow has been allocated.

def get_children(self):
        """
        Return the list of nodes in the :class:`Flow` that depends on this :class:`Node`

        .. note::

            This routine assumes the entire flow has been allocated.
        """
        # Specialized branch for FileNode.
        if self.is_file:
            return self.filechildren

        # Inspect the entire flow to get children.
        children = []
        for work in self.flow:
            if work.depends_on(self): children.append(work)
            for task in work:
                if task.depends_on(self): children.append(task)
        return children