commit | b373a10ffc23cba94ba2e18f3f4a3b5941cc62da | [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 | 2833a2960991e63b4bf51b4b6b3a39aa7956254b | |
parent | eeb9c080c36694661bc4e1df1505733ab352fd6d [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')