[Environment] mac install graphviz

1. Install graphviz

brew install graphviz

 

2. Test using graphviz

Save the file as zhengruiping_test.dot

digraph pic { 
  zhengruiping -> code
}

3. In the directory where the zhengruiping_test.dot file is located, run the following command

dot zhengruiping_test.dot -T png -o zhengruiping_test.png

 

The results are as follows:

 

Guess you like

Origin blog.csdn.net/xiezhen_zheng/article/details/103233226