nop

Check validity and pretty-print graphs in canonical format. Graphviz filters: acyclic, bcomps, comps, edgepaint, gvcolor, gvpack, mingle, nop, sccmap, tred, & unflatten. More information: <https://www.graphviz.org/pdf/nop.1.pdf>.

Install

All systems
curl cmd.cat/nop.sh
Debian Debian
apt-get install graphviz
Ubuntu
apt-get install graphviz
Alpine
apk add graphviz
Arch Arch Linux
pacman -S graphviz
image/svg+xml Kali Linux
apt-get install graphviz
CentOS
yum install graphviz
Fedora
dnf install graphviz
Windows (WSL2)
sudo apt-get update sudo apt-get install graphviz
OS X
brew install graphviz
Raspbian
apt-get install graphviz
Docker
docker run cmd.cat/nop nop powered by Commando

Check validity and pretty-print graphs in canonical format. Graphviz filters: acyclic, bcomps, comps, edgepaint, gvcolor, gvpack, mingle, nop, sccmap, tred, & unflatten. More information: <https://www.graphviz.org/pdf/nop.1.pdf>.

  • 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:
    nop -?

© tl;dr; authors and contributors