LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

nop

pretty-print graph file in canonical DOT format

TLDR

Pretty-print a graph file
$ nop [graph.gv]
copy
Check DOT syntax without producing output
$ nop -p [graph.gv]
copy
Pretty-print from stdin
$ cat [graph.gv] | nop
copy

SYNOPSIS

nop [-p?] [files...]

DESCRIPTION

nop reads a stream of graphs in DOT format and prints each in pretty-printed (canonical) format on stdout. If no files are given, it reads from stdin.The tool is part of the Graphviz package and is useful for normalizing DOT files or validating graph syntax.

PARAMETERS

FILES

One or more DOT graph files to process. Reads from stdin if none given.
-p
Produce no output; only check the input for valid DOT syntax.
-?
Print usage information.

CAVEATS

Part of the Graphviz package. Only processes DOT graph language files. Does not perform any layout computation.

HISTORY

nop is part of Graphviz, the open-source graph visualization software originally developed at AT&T Labs Research.

SEE ALSO

acyclic(1), gvpr(1), gvcolor(1), ccomps(1), sccmap(1), tred(1)

Copied to clipboard
Kai