Fixed vertex size between different layouts


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?

Thank you in advance,

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()