On 24.11.2014 00:22, luistavares wrote:
Hi Charlie,
I did what you suggested, I set to False the pin properties of the vertices I want to move. But after calling the layout function the positions of all vertices are still changing.
The pin values of the vertices for which you want the positions to stay the same must be set to True, and the others to False. After you create a new property map, all its values are per default False (zero). If you just set the ones you want to move to 'False' you haven't accomplished anything. You must also set the ones you want fixed to 'True'. When you have problems like this it is very difficult to help if you don't post a small self-contained example which shows the problem. I don't mean a fragment of code, I mean something I can run myself, together with the graph, etc. Best, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>