graphviz

https://graphviz.org/

Install

$ brew install graphviz

Check the version:

$ dot -V
dot - graphviz version 12.1.0 (20240811.2233)

Usage

Generate svg:

$ dot -Tsvg input.dot