graphviz 的节点形状
2015-11-05 18:43
274 查看
graphviz 的节点可以定义不同的外形,比如下面的定义,
digraph tt1{
a[shape=box];
c[shape=lpromoter];
d[shape=doubleoctagon];
a -> b;
c -> d;
d -> b;
}
会产生下面的图形:
具体 graphviz 支持的节点形状如下图:
来源:http://www.graphviz.org/doc/info/shapes.html
需要注意的是:
The geometries of polygon-based shapes are also affected by the node attributes regular, peripheries and orientation. If shape="polygon", the attributes sides, skew and distortion are also used. If unset, they default to 4, 0.0 and 0.0, respectively.
digraph tt1{
a[shape=box];
c[shape=lpromoter];
d[shape=doubleoctagon];
a -> b;
c -> d;
d -> b;
}
会产生下面的图形:
具体 graphviz 支持的节点形状如下图:
来源:http://www.graphviz.org/doc/info/shapes.html
需要注意的是:
The geometries of polygon-based shapes are also affected by the node attributes regular, peripheries and orientation. If shape="polygon", the attributes sides, skew and distortion are also used. If unset, they default to 4, 0.0 and 0.0, respectively.
相关文章推荐
- 面向对象 封装
- 语法树
- Android 中TextView内容过长加省略号,点击显示全部内容
- 再探oVirt-配置一个2节点的ovirt环境
- ASP.Net MVC View(视图)
- apple系统的编译工具 llvm
- linux下pear安装
- 使用Salt-ssh部署Salt-minion之yum安装(一)
- web 全栈 学习 2 一个好的页面是如何炼成的
- codeforces #329 div 2 A. 2Char (暴力)
- JavaScriptCore框架
- 关于android 图标标准 ,效果图切图标准, 单位标准换算
- norflash芯片内执行(XIP)
- android binder机制学习(准备工作)
- <仅是自己做笔记。。。系列-2>求二叉树中节点的最大距离
- linux下的用户管理(一)
- python实现逻辑回归
- Sublime Text 2激活、插件包安装、以及快捷键
- cc碎碎念
- java消息队列ActiveMQ的简单使用