# Nx Graph and Affected

**Canonical:** https://apis.io/apis/nx-dev/nx-graph-and-affected/  
**Provider:** Nx — https://apis.io/providers/nx-dev/  
**Documentation:** https://nx.dev/features/explore-graph

Nx Graph and Affected is one of 10 APIs that [Nx](https://apis.io/providers/nx-dev/) publishes on the [APIs.io](https://apis.io/) network. Tagged areas include Dependency-Graph, AffectedCommands, and Monorepo. The published artifact set on APIs.io includes API documentation.

Nx builds a project graph and a task graph from your workspace, then uses them to run only the tasks affected by a given change set. `nx graph` opens an interactive visualization; `nx affected -t build` or `nx affected -t test` runs only what is needed. The graph is also consumed by Nx Console, the AI agent tooling, and Nx Cloud distribution.

## Machine-readable artifacts (3)

- **Documentation** — https://nx.dev/features/explore-graph
- **Documentation** — https://nx.dev/features/run-tasks
- **Documentation** — https://nx.dev/ci/features/affected

## Other Nx APIs (9)

- [Nx CLI](https://apis.io/apis/nx-dev/nx-cli/)
- [Nx Plugin System](https://apis.io/apis/nx-dev/nx-plugin-system/)
- [Nx Cache](https://apis.io/apis/nx-dev/nx-cache/)
- [Nx Release](https://apis.io/apis/nx-dev/nx-release/)
- [Nx Console](https://apis.io/apis/nx-dev/nx-console/)
- [Nx Cloud Remote Cache](https://apis.io/apis/nx-dev/nx-cloud-remote-cache/)
- [Nx Agents (Distributed Task Execution)](https://apis.io/apis/nx-dev/nx-agents/)
- [Nx Self-Healing CI](https://apis.io/apis/nx-dev/nx-self-healing-ci/)
- [Nx MCP Server](https://apis.io/apis/nx-dev/nx-mcp/)

## Tags

Dependency-Graph, AffectedCommands, Monorepo

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/nx-dev/nx-graph-and-affected/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/nx-dev/.
