### Description

Currently Airflow has a `Filter Upstream` View/option inside the graph view. (As documented [here](https://docs.astronomer.io/learn/airflow-ui#graph-view) under `Filter Upstream`)

<img width="682" alt="image" src="https://user-images.githubusercontent.com/9246654/211711759-670a1180-7f90-4ecd-84b0-2f3b290ff477.png">

It would be great if there were also the options
1. `Filter Downstream` &
2. `Filter Downstream & Upstream`

### Use case/motivation

Sometimes it is useful to view downstream tasks & down & upstream tasks when reviewing dags. This feature would make it as easy to view those as it is to view upstream today.

### Related issues

I found nothing with a quick search

### Are you willing to submit a PR?

- [ ] Yes I am willing to submit a PR!

### Code of Conduct

- [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)

end_date = task_dict["end_date"] or timezone.utcnow()
            task_dict["end_date"] = end_date
            task_dict["start_date"] = task_dict["start_date"] or end_date
            task_dict["state"] = State.FAILED
            task_dict["operator"] = task.operator_name
            task_dict["try_number"] = try_count
            task_dict["extraLinks"] = task.extra_links
            task_dict["execution_date"] = dttm.isoformat()
            task_dict["run_id"] = dag_run_id
            tasks.append(task_dict)
        task_names = [ti.task_id for ti in tis]
        data = {
            "taskNames": task_names,
            "tasks": tasks,
            "height": len(task_names) * 25 + 25,
        }
        session.commit()
        return self.render_template(
            "airflow/gantt.html",
            dag=dag,
            dag_run_id=dag_run_id,
            execution_date=dttm.isoformat(),
            form=form,
            data=data,
            base_date="",
            root=root,
            dag_model=dag_model,
        )
    @expose("/extra_links")
    @auth.has_access(