-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(core): expose graph json type (#27496)
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> (cherry picked from commit 2c0a50c)
- Loading branch information
1 parent
be620eb
commit f81b906
Showing
5 changed files
with
54 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# 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` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters