使用 home-brew 安装后如何在 macosx 上启动 graphviz?

how to start graphviz on macosx after installing with home-brew?

dave$ brew reinstall graphviz
==> Reinstalling graphviz 
==> Downloading https://homebrew.bintray.com/bottles/graphviz-2.40.1_1.high_sier
Already downloaded: /Users/dave/Library/Caches/Homebrew/downloads/2bf5346e72953a60aa26af766451ff7cf1439f4c020c0dc24ee5db10b9795ade--graphviz-2.40.1_1.high_sierra.bottle.tar.gz
==> Pouring graphviz-2.40.1_1.high_sierra.bottle.tar.gz
  /usr/local/Cellar/graphviz/2.40.1_1: 500 files, 11.3MB

我用自制软件安装了 graphviz。之后我该如何开始?

你不知道。 Graphviz 是一个工具而不是 GUI。

要测试它,您可以做一些简单的事情,比如创建一个简单的图表:

digraph "a" {
a -> b
}

然后运行点上它。

$ dot -Tpng -otest.png test.dot
$ open test.png