1
我想在Graphviz上使用倾斜的多边形(又名平行四边形),问题是平行四边形边框和文本之间存在太多空间。Graphviz:减少倾斜的多边形节点上的边距
digraph G {
poly1[margin=0, width=0, height=0, shape=polygon, label="This is a polygon\nwithout skew"]
poly2[margin=0, width=0, height=0, shape=polygon, label="This is a polygon\nwith skew", skew=0.3]
}
这是以前的代码的结果:
正如你所看到的,一旦我设置的倾斜值(在这种情况下skew=0.3
)多边形内部利润率增加了很多。设置margin=0
,width=0
和height=0
不能解决问题。
有没有办法去除多边形的内边距?