Matteo Scandolo | 8a64fa4 | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 1 | (function () { |
| 2 | 'use strict'; |
| 3 | |
Matteo Scandolo | 0456495 | 2016-02-24 11:22:48 -0800 | [diff] [blame] | 4 | angular.module('xos.diagnostic') |
Matteo Scandolo | 8a64fa4 | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 5 | .constant('serviceTopologyConfig', { |
Matteo Scandolo | fcdbed3 | 2016-02-08 16:55:44 -0800 | [diff] [blame] | 6 | widthMargin: 20, |
Matteo Scandolo | 071ef46 | 2016-01-25 12:00:42 -0800 | [diff] [blame] | 7 | heightMargin: 30, |
Matteo Scandolo | cb12a1a | 2016-01-25 14:11:10 -0800 | [diff] [blame] | 8 | duration: 750, |
Matteo Scandolo | 7e67a9a | 2016-02-16 16:33:26 -0800 | [diff] [blame] | 9 | elWidths: [20, 104, 105, 104, 20], //this is not true |
Matteo Scandolo | cb12a1a | 2016-01-25 14:11:10 -0800 | [diff] [blame] | 10 | circle: { |
| 11 | radius: 10, |
Matteo Scandolo | 9fe01af | 2016-02-09 16:01:49 -0800 | [diff] [blame] | 12 | r: 10, |
Matteo Scandolo | cb12a1a | 2016-01-25 14:11:10 -0800 | [diff] [blame] | 13 | selectedRadius: 15 |
Matteo Scandolo | fcdbed3 | 2016-02-08 16:55:44 -0800 | [diff] [blame] | 14 | }, |
| 15 | square: { |
| 16 | width: 20, |
| 17 | height: 20, |
| 18 | x: -10, |
| 19 | y: -10 |
Matteo Scandolo | 9fe01af | 2016-02-09 16:01:49 -0800 | [diff] [blame] | 20 | }, |
| 21 | rack: { |
Matteo Scandolo | cc0db94 | 2016-02-11 17:37:08 -0800 | [diff] [blame] | 22 | width: 105, |
Matteo Scandolo | 9fe01af | 2016-02-09 16:01:49 -0800 | [diff] [blame] | 23 | height: 50, |
Matteo Scandolo | 170d3be | 2016-02-11 08:58:04 -0800 | [diff] [blame] | 24 | x: -30, |
Matteo Scandolo | 9fe01af | 2016-02-09 16:01:49 -0800 | [diff] [blame] | 25 | y: -25 |
Matteo Scandolo | 170d3be | 2016-02-11 08:58:04 -0800 | [diff] [blame] | 26 | }, |
| 27 | computeNode: { |
| 28 | width: 50, |
| 29 | height: 20, |
Matteo Scandolo | cc0db94 | 2016-02-11 17:37:08 -0800 | [diff] [blame] | 30 | margin: 5, |
| 31 | labelHeight: 10, |
Matteo Scandolo | 170d3be | 2016-02-11 08:58:04 -0800 | [diff] [blame] | 32 | x: -25, |
| 33 | y: -10 |
| 34 | }, |
| 35 | instance: { |
Matteo Scandolo | ca7db31 | 2016-02-16 12:50:50 -0800 | [diff] [blame] | 36 | width: 80, |
| 37 | height: 36, |
Matteo Scandolo | cc0db94 | 2016-02-11 17:37:08 -0800 | [diff] [blame] | 38 | margin: 5, |
Matteo Scandolo | ca7db31 | 2016-02-16 12:50:50 -0800 | [diff] [blame] | 39 | x: -40, |
| 40 | y: -18 |
Matteo Scandolo | 50eeec6 | 2016-02-23 10:04:36 -0800 | [diff] [blame] | 41 | }, |
| 42 | container: { |
| 43 | width: 60, |
Matteo Scandolo | f0d6e69 | 2016-02-24 11:14:01 -0800 | [diff] [blame] | 44 | height: 130, |
Matteo Scandolo | 50eeec6 | 2016-02-23 10:04:36 -0800 | [diff] [blame] | 45 | margin: 5, |
| 46 | x: -30, |
| 47 | y: -15 |
Matteo Scandolo | cb12a1a | 2016-01-25 14:11:10 -0800 | [diff] [blame] | 48 | } |
Matteo Scandolo | 8a64fa4 | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 49 | }) |
| 50 | |
| 51 | }()); |