https://graphviz.org/
$ brew install graphviz
Check the version:
$ dot -V dot - graphviz version 12.1.0 (20240811.2233)
Generate svg:
$ dot -Tsvg input.dot