On Mar 10, 2013, at 12:59 PM, Murphy McCauley wrote:
> On Mar 10, 2013, at 12:16 PM, Colin Boyd wrote:
>
>> Is there any way to control (or disable) the automatic layout of nodes
>> in Poxdesk? I would like to be able to drag them to precise spots and
>> not have them attempt to settle back into their old position
>
> I don't think so in the current version of POXDesk. It's been a while since
> I've played with it, but try commenting out line 66 of
> source/class/poxdesk/TopoViewer.js ("this.graph.notify()"). That may stop it
> from laying out the graph at all... if you added a menu option or something
> to enable/disable that, you could turn the auto layout on and off...
Another note is that POXDesk uses "springy" to do the layout, and it looks like
the newer version of the code may have more positionable nodes built in. You
might see about just upgrading the version used in POXDesk. springy's code is
at:
https://github.com/dhotson/springy
-- Murphy