summaryrefslogtreecommitdiff
path: root/scripts/buttons.js
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2014-09-29 16:34:31 +0300
committerAlon Levy <alon@pobox.com>2014-09-29 16:34:31 +0300
commit6e19d60fdecaee0138299de83c3e98644d003877 (patch)
tree97c9e0f1fe8b11f26ed63b933f51db4527ce56fa /scripts/buttons.js
parent8b202359066f61ddbcd322123f197fbc2fc4dda2 (diff)
rhizicore: fix popping node on top left when creating a new node
The fix is ugly. Basically we are relying on the force layout [1] for the locations of the nodes. I've hidden the node until the first tick. Since we do a tick calculation (tick is a function in rhizicore) when adding a node there is no associated delay. [1] https://github.com/mbostock/d3/wiki/Force-Layout
Diffstat (limited to 'scripts/buttons.js')
0 files changed, 0 insertions, 0 deletions