Closes #3283 ## Current Behavior See #3283 ## Expected Behavior See #3283 ## Related Issue(s) #3283 Fixes # - expose graph json type --------- Co-authored-by: @NgDaddy Paweł Twardziak <contact@ngdaddy.com> Co-authored-by: FrozenPandaz <jasonjean1993@gmail.com>
36 lines
752 B
Markdown
36 lines
752 B
Markdown
# Interface: GraphJson
|
|
|
|
The data type that `nx graph --file graph.json` or `nx build --graph graph.json` contains
|
|
|
|
## Table of contents
|
|
|
|
### Properties
|
|
|
|
- [graph](../../devkit/documents/GraphJson#graph): ProjectGraph
|
|
- [taskPlans](../../devkit/documents/GraphJson#taskplans): Record<string, string[]>
|
|
- [tasks](../../devkit/documents/GraphJson#tasks): TaskGraph
|
|
|
|
## Properties
|
|
|
|
### graph
|
|
|
|
• **graph**: [`ProjectGraph`](../../devkit/documents/ProjectGraph)
|
|
|
|
The project graph
|
|
|
|
---
|
|
|
|
### taskPlans
|
|
|
|
• `Optional` **taskPlans**: `Record`\<`string`, `string`[]\>
|
|
|
|
The plans for hashing a task in the task graph
|
|
|
|
---
|
|
|
|
### tasks
|
|
|
|
• `Optional` **tasks**: [`TaskGraph`](../../devkit/documents/TaskGraph)
|
|
|
|
A graph of tasks populated with `nx build --graph`
|