Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,8 @@ it('should not contain forbidden dependencies', async () => {

Generate dependency graph reports in multiple formats and narrow them to the part of the codebase you want to inspect.

![ArchUnitTS dependency graph showing the architecture of the library's modules (common, files, slices, metrics, graph, testing) and their dependencies, collapsed to folder depth 2](assets/dependency-graph-example.svg)

```typescript
import { projectGraph } from 'archunit';

Expand Down Expand Up @@ -427,6 +429,7 @@ Graph exploration options:
- `collapseToFolderDepth(depth)` aggregates files to folder-level graph nodes.
- `collapseByPattern(pattern, replacement)` maps files to custom graph nodes.
- `includeExternalDependencies()` includes external edges when graph extraction provides them.
- `includeSelfDependencies()` includes files' self-referencing edges in the graph.

### Reports

Expand Down
Loading
Loading