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.

INSTALL

sudo apt install graphviz
copy
sudo dnf install graphviz
copy
sudo pacman -S graphviz
copy
sudo apk add graphviz
copy
sudo zypper install graphviz
copy
brew install graphviz
copy
nix profile install nixpkgs#graphviz
copy

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)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid