summaryrefslogtreecommitdiff
path: root/scripts/textanalysis-ui.js
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2014-09-29 13:31:28 +0300
committerAlon Levy <alon@pobox.com>2014-09-29 13:31:35 +0300
commit8461b01095284697deda2e755f91212356a09373 (patch)
tree9a4ea66b63c1af1484adf628a377dbcd769ea38e /scripts/textanalysis-ui.js
parent8bda55cf4b52d0279ed48bacb2021772dc34e51f (diff)
rhizicore: bug fix: draw links below nodes
bug introduced in cd7157955d15802f34dee6ac4578ae249f3e397d before that we recreated the links and nodes every update, and since all links were created before nodes the document order was <link> <link> <node> <node> which per SVG rendering order [1] leads to nodes being drawn on top of links. But after that commit the new links and nodes where created as they were being edited, so we got <link> <node> <link> <node> With this commit all links are created in a single group, getting back the correct order: <g> <link> <link> </g> <node> <node> nodes are ungrouped but there is no need for that (except that it looks strangely assymetrical). [1] http://dev.w3.org/SVG/modules/renderorder/SVGRenderOrder.html
Diffstat (limited to 'scripts/textanalysis-ui.js')
0 files changed, 0 insertions, 0 deletions