commit | 038aedde3012f2c03e55cd89c9febad728877f25 | [log] [tgz] |
---|---|---|
author | Bri Prebilic Cole <bri@onlab.us> | Mon Jul 13 15:25:16 2015 -0700 |
committer | Bri Prebilic Cole <bri@onlab.us> | Mon Jul 13 16:33:14 2015 -0700 |
tree | a4ae33657313dd610cf2c33af3470e8a267ad1fc | |
parent | f1c42080a111d67c3d93748641aa4ff541389802 [diff] [blame] |
ONOS-2328 GUI -- Enhanced Topology View to show multiple links individually between devices (1 - 4). 5 or more is a thick line. Change-Id: Ie096086454fd8d1d5d40f09396681f9cba8597a1
diff --git a/web/gui/src/main/webapp/app/view/topo/topoModel.js b/web/gui/src/main/webapp/app/view/topo/topoModel.js index 9c8d46b..c42e3ec 100644 --- a/web/gui/src/main/webapp/app/view/topo/topoModel.js +++ b/web/gui/src/main/webapp/app/view/topo/topoModel.js
@@ -209,7 +209,7 @@ t = lnk.fromTarget, ws = (s && s.linkWidth) || 0, wt = (t && t.linkWidth) || 0; - return Math.max(ws, wt); + return lnk.position.multiLink ? 5 : Math.max(ws, wt); } }); return lnk;