Graphviz的简单使用(2018年12月28日)

Graphviz

Graphviz的是AT&T Labs Research开发的图形绘制工具,他可以很方便的用来绘制结构化的图形网络,支持多种格式输出,生成图片的质量和速度都不错.Graphviz本身是开源的产品,下载可以到 这里,以及他的演示界面 Graphviz在windows上和Linux上都可以顺利运行

Graphviz is open source graph visualization software. Graph visualization is a way of representing structural information as diagrams of abstract graphs and networks. It has important applications in networking, bioinformatics,  software engineering, database and web design, machine learning, and in visual interfaces for other technical domains. 

下载地址:http://www.graphviz.org/

安装后,需要将graphviz安装目录下的bin文件夹添加到Path环境变量中

Graphviz的简单使用(2018年12月28日)

验证:cmd进入命令行界面,输入dot -version,如果显示graphviz的相关版本信息,则安装配置成功。 
安装成功之后,cd 切换到tree.dot所在的路径

 

> dot -Tpng ****.dot -o tree.png

详细使用可以参见:  

https://www.jianshu.com/p/6d9bbbbf38b1