Size for edges and properties vweight and eweight


I would like to know if there is any way to set a visual size for each edge
in the graph. Also like to know what is the role of the vweight and eweight
properties. I didn't find this information in the documentation.

Thanks in advance.

What functions are you referring to?


Hi Tiago,

My first question is about the size of the edges. I need to determine a
distance between some vertices by changing the size of specific edges. Is
there a way to do that? I'm using sfdp_layout to generate this graph below.


No, unfortunately you cannot fix edge lengths with sfdp_layout().


Thanks for the information.

Please, one more doubt. What is the role of eweight and vweight properties.
I need to improve the visual distance of some major paths in my graph, these
properties can help?

Not really. Eweight and Vweight are multiplicative factors applied to
the nodes and edges. For instance, a node with vweight 2 counts as two
vertices, and the same thing for the edges.