GUI -- TopoView - port numbers now offset along the link.
Change-Id: Ic093e5bb5f53d1d54ef4225917ff1177e4d5eef2
diff --git a/web/gui/src/main/webapp/app/view/topo/topoD3.js b/web/gui/src/main/webapp/app/view/topo/topoD3.js
index 7017a75..39c3495 100644
--- a/web/gui/src/main/webapp/app/view/topo/topoD3.js
+++ b/web/gui/src/main/webapp/app/view/topo/topoD3.js
@@ -426,15 +426,10 @@
rect.attr(rectAroundText(el));
text.attr('dy', linkLabelOffset);
- el.attr('transform', transformPort(d));
+ el.attr('transform', sus.translate(d.x, d.y));
});
}
- function transformPort(d) {
- // TODO: offset along the link, away from the node
- return sus.translate(d.baseX, d.baseY);
- }
-
// ==========================
// Module definition