# Using the Nx Dependency Graph in Custom Scripts

DevFeed: [Using the Nx Dependency Graph in Custom Scripts](<https://devfeed.tech/articles/using-the-nx-dependency-graph-in-custom-scripts-21372.md>)

Original publisher: [Read original article](<https://juri.dev/blog/2020/09/use-nx-dep-graph-in-custom-scripts/>)

Published: 2020-09-30T00:00:00Z

Content type: tutorial

Language: en

Sources: [Juri Strumpflohner](<https://devfeed.tech/sources/juri-strumpflohner.md>)

Topics: [Graphs](<https://devfeed.tech/topics/graphs.md>), [Development](<https://devfeed.tech/topics/development.md>), [TypeScript](<https://devfeed.tech/topics/typescript.md>), [JSON](<https://devfeed.tech/topics/json.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [angular](<https://devfeed.tech/tags/angular.md>), [dependency](<https://devfeed.tech/tags/dependency.md>), [development](<https://devfeed.tech/tags/development.md>), [graph](<https://devfeed.tech/tags/graph.md>), [json](<https://devfeed.tech/tags/json.md>), [nx](<https://devfeed.tech/tags/nx.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [react](<https://devfeed.tech/tags/react.md>), [tooling](<https://devfeed.tech/tags/tooling.md>), [typescript](<https://devfeed.tech/tags/typescript.md>)

## AI overview

This tutorial explains how to use the Nx dependency graph in custom automation scripts. It covers accessing project-graph data from TypeScript, exporting the graph to JSON, and printing affected projects to support customized workflows and CI pipelines.

## Source excerpt

Lorem ipsum dolor sit amet