---
name: "gengraph"
section: "1"
platform: "linux"
package: "ncc"
version: "2.8-2.1+b1"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/gengraph"
---

# gengraph(1)

Produces a call graph in dot format from an ncc-generated file.

## NAME

gengraph - Produces a call graph in dot format from an ncc-generated file.

## SYNOPSIS

**gengraph** \[options\] \<nccout\> \<function\> ...

## OPTIONS

- \-h \| --help: usage statement

  - \-V \| --version: print version and exit

  - \-D \| --dot: additional options to dot

  - \-d \| --depth: max depth of graph

  - \-i \| --ignore: functions to ignore

  - \-l \| --location: show file names of function declarations

  - \-s \| --show: show function but ignore sub-functions

  ## USAGE

**gengraph -i "exit strlen" nccout main \| dot -Tsvg -o func.svg**

**gengraph -i "exit strlen" nccout main \| springgraph \> output.png**

## SEE ALSO

[**nccgen**(1)](/nccgen/1.md), [**nccnav**(1)](/nccnav/1.md)
