ndot - Dependency graph generator for nML

Sukyoung Ryu
ROPAS
Dept. of Computer Science
KAIST (Korea Advanced Institute of Science and Technology)

Courtesy

Ndot is based on Trevor Jim's ocamldot.

Synopsis

ndot [ -fullgraph ] [ -landscape ] [ -lr ] [ -r r ] filename

Description

The ndot command reads a dependency file (.depend file) and outputs dependency graph for nML programs in a format suitable for the dot utility. Dot is freely available from http://www.research.att.com/sw/tools/graphviz/. Here's an example:

The typical usage is:

ndot options depend > dep.dot

where depend is the file that contains the dependencies.

Options

The following command-line options are recognized by ndot.

-fullgraph

      draw the full graph (default is to draw only the kernel)

-landscape

    output in landscape format (default is portrait)

-lr

    draw graph from left to right (default is top to bottom)

-r r

    use r as a root in the graph; nodes reachable from will be shown

Download

ndot.tar.gz