【发布时间】:2013-06-20 20:41:03
【问题描述】:
有没有办法只为基于记录的节点中的字段添加颜色。像下面的例子一样,字段 struct2:f0 可以单独使用不同的颜色吗?
digraph structs {
node [shape=record];
struct1 [label="<f0> left|<f1> mid\ dle|<f2> right"];
struct2 [label="<f0> one|<f1> two"];
struct3 [label="hello\nworld |{ b |{c|<here> d|e}| f}| g | h"];
struct1:f1 -> struct2:f0;
struct1:f2 -> struct3:here;
}
谢谢
【问题讨论】:
标签: graphviz