作者:hcl春丽 | 来源:互联网 | 2022-12-25 13:55
我有以下图表:
digraph G {rankdir="LR";
node [fOntname= "font-awesome"];
subgraph cluster17 {
2 [id=2, shape=rect;color="#A4A4A4";fillcolor="white";label=<
>, ,fOntsize=6,fixedsize=true,width=0.5,height=0.2,shape=Mrecord];
2 -> 4 [id="2t4",color="#717070",arrowsize=.5];
subgraph cluster3 {
4 [id=4,fillcolor="#F5BDA2", shape=rect;label=<
>, ,shape=Mrecord];
5 [id=5,fillcolor="#F5BDA2", shape=rect;label=<
>, ,shape=Mrecord];
6 [id=6,fillcolor="#F5BDA2", shape=rect;label=<
>, ,shape=Mrecord];
7 [id=7,fillcolor="#F5BDA2", shape=rect;label=<
>, ,shape=Mrecord];
8 [id=8,fillcolor="#F5BDA2", shape=rect;label=<
>, ,shape=Mrecord];
6 -> 7 [id="6t7",color="#717070",arrowsize=.5];
4 -> 5 [id="4t5",color="#717070",arrowsize=.5];
8 -> 4[id="8t4",color="#717070",arrowsize=.5];
5 -> 6 [id="5t6",color="#717070",arrowsize=.5];
7 -> 8 [id="7t8",color="#717070",arrowsize=.5];
label=<
>;
fillcolor="#EDF1F2"
color="#028d35"
id=3
}
4 -> 10 [id="4t10",color="#717070",arrowsize=.5];
10 [id=10, shape=rect;color="#A4A4A4";fillcolor="white";label=<
>,fOntsize=6,fixedsize=true,width=0.5,height=0.2,shape=Mrecord, ];
label=<
>;
fillcolor="#EDF1F2"
color="#A4A4A4"
id=17
}
}
它给出了下图:
我想将图形更改为cluster3
带圆角的矩形.我试图插入shape=Mrecord
,但它不起作用.如何将群集的形状更改为带圆角的矩形?
1> marapet..:
代替
你可以用
bgcolor="#028d35"
舍入的样式不使用fillcolor
,而是使用bgcolor
.
@bordeo您是说答案中提供的链接以外的意思吗?是否有缺少的东西?