def invalidate_files(self, direct_filenames):
    """Invalidates the given filenames in an internal product Graph instance."""
    invalidated = self._scheduler.invalidate_files(direct_filenames)
    self._maybe_visualize()
    return invalidated
Invalidates the given filenames in an internal product Graph instance.