commit | e477990de9bd4a0cb978bb6b53b956d8ca0cf3df | [log] [tgz] |
---|---|---|
author | Matteo Scandolo <teo@onlab.us> | Tue Feb 09 11:37:11 2016 -0800 |
committer | Matteo Scandolo <teo@onlab.us> | Tue Feb 09 11:37:11 2016 -0800 |
tree | 23ddc63e9bf0203f1008f6fb7571af80bdfdca63 | |
parent | 219b1a74af9301276e0a02360e1f3a250c410a71 [diff] |
Added link between device and subscriber
diff --git a/views/ngXosViews/diagnostic/src/css/serviceTopology.css b/views/ngXosViews/diagnostic/src/css/serviceTopology.css index 39a5497..d9b219d 100644 --- a/views/ngXosViews/diagnostic/src/css/serviceTopology.css +++ b/views/ngXosViews/diagnostic/src/css/serviceTopology.css
@@ -17,6 +17,13 @@ top: 0; } +logic-topology .subscriber circle, +logic-topology .device circle{ + fill: #fff; + stroke: green; + stroke-width: 1px; +} + /* LEGEND */ .legend {
diff --git a/views/ngXosViews/diagnostic/src/js/logicTopologyHelper.js b/views/ngXosViews/diagnostic/src/js/logicTopologyHelper.js index 8aedda2..a15b017 100644 --- a/views/ngXosViews/diagnostic/src/js/logicTopologyHelper.js +++ b/views/ngXosViews/diagnostic/src/js/logicTopologyHelper.js
@@ -40,9 +40,9 @@ var diagonal = d3.svg.diagonal() .source({x: deviceX, y: deviceY}) .target({x: targetX, y: targetY}) - .projection(d => { - return [d.x, d.y]; - }); + // .projection(d => { + // return [d.y, d.x]; + // }); deviceGroup .append('path')