commit | d01eda67b3a1b3d95b9c1d698f693772a78c9ecf | [log] [tgz] |
---|---|---|
author | Carmelo Cascone <carmelo@onlab.us> | Tue Aug 02 10:19:15 2016 -0700 |
committer | Simon Hunt <simon@onlab.us> | Tue Aug 09 12:18:17 2016 -0700 |
tree | 5980f5a597f82a4d87ca909bace762595ab02650 | |
parent | c9306e46d1bef915cbba09f1ba2332a5d4152c93 [diff] [blame] |
Prevent overlap of link labels in WEB UI Change-Id: I6e261186abf9ed87a3c55e50d123e423f652aa41 (cherry picked from commit 622700f)
diff --git a/web/gui/src/main/webapp/app/view/topo/topoForce.js b/web/gui/src/main/webapp/app/view/topo/topoForce.js index 93e8ddc..b3fc5a3 100644 --- a/web/gui/src/main/webapp/app/view/topo/topoForce.js +++ b/web/gui/src/main/webapp/app/view/topo/topoForce.js
@@ -844,7 +844,7 @@ transform: function (d) { var lnk = tms.findLinkById(d.key); if (lnk) { - return td3.transformLabel(lnk.position); + return td3.transformLabel(lnk.position, d.key); } } }