【发布时间】:2011-05-30 00:28:17
【问题描述】:
我正在尝试使用 graphviz 来做一些类似于 UML 类图的事情。
我想知道是否有办法让“注册”样式的节点的第一个字段以粗体显示,以使其与其他字段不同。
我的节点如下所示:
digraph i {
"node" [
label = "<f0> title | <f1> index | ... | <f2> field1 | <f3> field2"
shape = "record"
];
}
我试过了,但它不起作用:(嵌入 html)
digraph i {
"node" [
label = "<f0> <B>title</B> | <f1> index | ... | <f2> field1 | <f3> field2"
shape = "record"
];
}
【问题讨论】: