2011年06月08日
cpio 使用简介 (转载)

Use emacs & Graphviz to plot data structure

tubo posted @ 2014年9月03日 00:02 in 未分类 , 456 阅读

今天下午用了些时间写了个小的函数,该函数配合 autoinsert + graphviz-dot-mode ,可以很方便的将 C 语言中指定的 struct 结构画出来。这样,画了多个数据结构之后,再手动添加几条线, 数据结构之间的关系就一目了然了。

1 Graphviz & graphviz-dot-mode

 

1.1 What is Graphviz?

简单的说, graphviz 是一个开源的自动图形绘制工具, 可以很方便的可视化结构信息,把抽象的图和网络用几何的 方式表现出来。

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/

1.2 Graphviz 的安装

Linux 下几乎所有的发行版都有这个工具,如果没有默认安装的话, 也可以通过发行版自带的软件管理工具来或者去其下载页面上下载相应的二进制包或者源码包。 同时该软件也提供了 windows 下的安装文件,参见: http://www.graphviz.org/Download..php

gentoo 下安装 graphviz , 一如既往的简单:

emerge -av graphviz 

1.3 Graphviz 的使用

.......

http://tubocurarine.is-programmer.com/posts/27164.html

登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter