nx/docs/generated/devkit/GraphJson.md
Paweł Twardziak 2c0a50c0d8
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>
2024-08-23 18:20:59 -04:00

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`