开始之前
先安装graphviz安装的方法就比较多了。可以使用一键安装,也可以用。
zypper install graphviz
如果是ubuntu的话,相信用
sudo apt-get install graphviz
就OK了。
开始
今天我们要画的便是这个了。
程序如下:
digraph g {
graph [
rankdir = "LR"
];
node [
fontsize = "16"
shape = "ellipse"
];
edge [
];
"node0" [
label = " 0x10ba8| "
shape = "record"
];
"node1" [
label = " 0xf7fc4380| | |-1"
shape = "record"
];
"node2" [
label = " 0xf7fc44b8| | |2"
shape = "record"
];
"node3" [
label = " 3.43322790286038071e-06|44.79998779296875|0"
shape = "record"
];
"node4" [
label = " 0xf7fc4380| | |2"
shape = "record"
];
"node5" [
label = " (nil)| | |-1"
shape = "record"
];
"node6" [
label = " 0xf7fc4380| | |1"
shape = "record"
];
"node7" [
label = " 0xf7fc4380| | |2"
shape = "record"
];
"node8" [
label = " (nil)| | |-1"
shape = "record"
];
"node9" [
label = " (nil)| | |-1"
shape = "record"
];
"node10" [
label = " (nil)| | |-1"
shape = "record"
];
"node11" [
label = " (nil)| | |-1"
shape = "record"
];
"node12" [
label = " 0xf7fc43e0| | |1"
shape = "record"
];
"node0":f0 -> "node1":f0 [
id = 0
];
"node0":f1 -> "node2":f0 [
id = 1
];
"node1":f0 -> "node3":f0 [
id = 2
];
"node1":f1 -> "node4":f0 [
id = 3
];
"node1":f2 -> "node5":f0 [
id = 4
];
"node4":f0 -> "node3":f0 [
id = 5
];
"node4":f1 -> "node6":f0 [
id = 6
];
"node4":f2 -> "node10":f0 [
id = 7
];
"node6":f0 -> "node3":f0 [
id = 8
];
"node6":f1 -> "node7":f0 [
id = 9
];
"node6":f2 -> "node9":f0 [
id = 10
];
"node7":f0 -> "node3":f0 [
id = 11
];
"node7":f1 -> "node1":f0 [
id = 12
];
"node7":f2 -> "node8":f0 [
id = 13
];
"node10":f1 -> "node11":f0 [
id = 14
];
"node10":f2 -> "node12":f0 [
id = 15
];
"node11":f2 -> "node1":f0 [
id = 16
];
}
使用方法
dot -Tps hello.dot -o hello.ps
使用gwenview查看
分享到:
相关推荐
六祎--在原创力花了大价钱买来的,分享... openSUSE Leap 是由社区志愿者和 SUSE 公司雇员一起公开、透明地开发的,openSUSE 这些系统对个人来说是完全免费的,包括使用和在线更新。 1.2 本指南其他语言版本(衍生版)
openSUSE 10.3 Start-Up 手册
opensuse使用手册,介绍opensuse的使用软件安装;软件详解
opensuse11.2系统安装资源,可以直接下载,解压安装opensuse11.2系统
同时 SLE 也将跳过 13 和 14 使用 15 作为其主要版本号,这使 openSUSE 的版本号与 SLE 保持一致。openSUSE Leap 的次要版本预计每年更新一次至少保持 3 年。openSUSE Leap 15 之后的下一个版本将会是 openSUSE Leap...
opensuse官方入门手册2 opensuse官方入门手册2 opensuse官方入门手册2
本文仅为参考性质的教程,不强制任何人使用openSUSE,不为任何使用openSUSE带来的不愉快接受舆论指责,在法律允许的最大范围内不接受因按照教程操作而导致任何损害,包括直接损害、偶发或继发损害、利润损失、存款...
opensuse 官方 入门 手册1 opensuse 官方 入门 手册1 opensuse 官方 入门 手册1
opensuse官方入门手册3 opensuse官方入门手册3 opensuse官方入门手册3 opensuse官方入门手册3
openSUSE设置服务通过防火墙.docx
再如补全功能如使用文件(hello_world.java),只需输入java hello+TAB键就会补全完整文件;而ubuntu就只能老老实实打全了。当然openSUSE的优势还有很多,不再一一列举。 Opensuse Tumbleweed是滚动更新的。举个例子...
之前写过使用EasyBCD 和GRUB4DOS 来硬盘安装openSUSE 12.1 的图文教程,但是 总觉得繁杂。这回终于找到了足够傻瓜的硬盘安装方式,就是使用Burg4DOS 来装。之所以 说足够傻瓜,是因为这方法对Windows 7 和Windows XP...
OpenSuse Linux 系统安装包
任何期颐最新软件包的用户,包括但不限于内核、SAMBA、git、桌面环境、办公应用以及许多其它软件包,都会想要使用 Tumbleweed。Tumbleweed 迎合了高级用户、软件开发者和 openSUSE 贡献者。若您需要最新软件堆栈和...
opensuse环境搭建 opensuse samba
使用方式为: 安装vagrant的virtualbox guest插件 vagrant plugin install vagrant-vbguest 添加镜像 vagrant box add --name huzhenghui/openSUSE-Tumbleweed-vbguest huzhenghui-openSUSE-Tumbleweed-vbguest-...
The Tumbleweed distribution is a pure rolling release version of openSUSE containing the latest stable versions of all software instead of relying on rigid periodic release cycles. The project does ...
The Tumbleweed distribution is a pure rolling release version of openSUSE containing the latest stable versions of all software instead of relying on rigid periodic release cycles. The project does ...
该文档为openSUSE42.3社区版官方文档,经过处理后的,通俗易懂
任何期颐最新软件包的用户,包括但不限于内核、SAMBA、git、桌面环境、办公应用以及许多其它软件包,都会想要使用 Tumbleweed。Tumbleweed 迎合了高级用户、软件开发者和 openSUSE 贡献者。若您需要最新软件堆栈和...