graphstream/gs-core

layout.frozen undoes itself when clicked

Closed this issue · 2 comments

When a frozen node is clicked and dragged, it does not re-freeze at the new position. Also, when it is just clicked and not moved, it will unfreeze and auto layout will move it to its automatically determined position. Currently, there is no way to make a clickable interactive graph that has some frozen nodes and other nodes whose positions are determined by auto layout.

You can't move or click on the nodes you have chosen to freeze without unfreeze, it's seem to be a long-standing issue (#74). But you can always disable the auto layout or define your own MouseManager to implement your behavior.

Ok. I've implemented my own mouse manager to deal with it. Thanks!