nop
Check validity and pretty-print graphs in canonical format.
TLDR
Pretty-print one or more graphs in canonical format
$ nop [path/to/input1.gv] [path/to/input2.gv ...] > [path/to/output.gv]
Check one or more graphs for validity, producing no output graph
$ nop -p [path/to/input1.gv] [path/to/input2.gv ...]
Display help for nop
$ nop -?
SYNOPSIS
nop [ -p? ] [ files ]
DESCRIPTION
nop reads a stream of graphs and prints each in pretty-printed (canonical) format on stdout. If no files are given, it reads from stdin.
OPTIONS
The following options are supported:
- -p
-
Produce no output - just check the input for valid DOT.
- -?
-
Print usage information.
EXIT STATUS
If any errors occurred while processing any input, such as a file not found or a file containing illegal DOT, EXIT_FAILURE is returned. Otherwise EXIT_SUCCESS is returned.