Am 29.07.21 um 13:23 schrieb Botond Molnár:
Hello,
I am trying to plot a few networks using two different layouts.
The vertex sizes and edge width are calculated separately, then each networks
is plotted using two different layouts: radial tree layout and sfdp layout.
In both cases the same pre-calculated values are used to set the vertex sizes
and edge width, in order to maintain the comparability of the plots.
However, I end up with different vertex sizes and edge width in function of the
chosen layout.
I am using the cairo backend, so I can plot both layouts next to each other,
but the ax sizes are the exactly the same.
Can you please help me how can I sort this out?
You can set the vertex size and edge with explicitly, by passing values
to the vertex_size and edge_penwidth parameters of the graph_draw()
function.
--
Tiago de Paula Peixoto <ti...@skewed.de>
_______________________________________________
graph-tool mailing list -- graph-tool@skewed.de
To unsubscribe send an email to graph-tool-le...@skewed.de