Please,
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.
-- View this message in context: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/... Sent from the Main discussion list for the graph-tool project mailing list archive at Nabble.com.
On 14.11.2014 23:25, luistavares wrote:
Please,
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.
What functions are you referring to?
Best, Tiago
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.
http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/file/n4025839/mxt.png
-- View this message in context: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/... Sent from the Main discussion list for the graph-tool project mailing list archive at Nabble.com.
On 15.11.2014 14:27, luistavares wrote:
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().
Best, Tiago
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?
-- View this message in context: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/... Sent from the Main discussion list for the graph-tool project mailing list archive at Nabble.com.
On 16.11.2014 16:56, luistavares wrote:
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.
Best, Tiago