And just to clarify what i misswrote. To edges im applying layout.weight. De: Matheus Silva Thank you, it helped a little. Here’s my problem. When i do: ps: A and B are nodes. A.addAttribute("layout.force", 0); B.addAttribute("layout.force", 0); It Works, they are grouped together. But when i do not apply this to nodes, but apply this to a specific edge, it does nothing, the lenght of the edge keep beeing 1. It can be happening because of the layout beeing set to viewer.enableAutoLayout()? De: Stefan Balev OK, I see. There is an attribute called "layout.weight". Its default value is 1. Setting it smaller/larger than 1 tends to make edges shorter/longer. Hope this helps, -- Stefan 2016-06-20 22:39 GMT+02:00 Matheus Silva <matheus.g.unicamp AT gmail.com>:
|
Archives gérées par MHonArc 2.6.16.