我正在用大标签绘制图表。有没有办法包装标签,以便它们适合尺寸的顶点。
这就是我到目前为止所拥有的
p1 = gt.graph_draw(gr1,
output_size=(2000, 6000),
pos=pos1,
vertex_shape="square",
bg_color=(256, 256, 256, 1),
vertex_size=20,
output='test1.png',
vertex_text=gr1.vp['label'],
vertex_fill_color=gr1.vp['color'])