Skip to content

Commit

Permalink
docs: mention --graph on graphs page (#9661)
Browse files Browse the repository at this point in the history
### Description

In #8806, it was mentioned
that we should mention `--graph` on the page where we talk about graphs
- so let's do that!
  • Loading branch information
anthonyshew authored Jan 3, 2025
1 parent 7ca6219 commit eab2f53
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docs/repo-docs/core-concepts/package-and-task-graph.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ description: Turborepo builds a Task Graph based on your configuration and repos
---

import { File, Folder, Files } from '#/components/files';
import { Callout } from '#/components/callout';

## Package Graph

Expand All @@ -14,8 +15,12 @@ This sets the groundwork for the Task Graph, where you'll define how **tasks** r
## Task Graph

In `turbo.json`, you express how tasks relate to each other. You can think of these relationships as
dependencies between tasks, but we have a more formal name for them: the Task
Graph.
dependencies between tasks, but we have a more formal name for them: the Task Graph.

<Callout type="good-to-know">
You can generate a visualization of the task graph for your tasks using [the
`--graph` flag](/repo/docs/reference/run#--graph-file-type).
</Callout>

Turborepo uses a data structure called a [directed acyclic graph (DAG)](https://en.wikipedia.org/wiki/Directed_acyclic_graph) to
understand your repository and its tasks. A graph is made up of "nodes" and
Expand Down

0 comments on commit eab2f53

Please sign in to comment.