Matteo Scandolo | be9b13d | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 1 | (function () { |
| 2 | 'use strict'; |
| 3 | |
Matteo Scandolo | 4b3d872 | 2016-02-24 11:22:48 -0800 | [diff] [blame] | 4 | angular.module('xos.diagnostic') |
Matteo Scandolo | be9b13d | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 5 | .constant('serviceTopologyConfig', { |
Matteo Scandolo | d54a7fd | 2016-03-08 09:33:26 -0800 | [diff] [blame] | 6 | widthMargin: 60, |
Matteo Scandolo | 4889f5a | 2016-01-25 12:00:42 -0800 | [diff] [blame] | 7 | heightMargin: 30, |
Matteo Scandolo | 7dbb191 | 2016-01-25 14:11:10 -0800 | [diff] [blame] | 8 | duration: 750, |
Matteo Scandolo | 4aae3aa | 2016-02-16 16:33:26 -0800 | [diff] [blame] | 9 | elWidths: [20, 104, 105, 104, 20], //this is not true |
Matteo Scandolo | 7dbb191 | 2016-01-25 14:11:10 -0800 | [diff] [blame] | 10 | circle: { |
| 11 | radius: 10, |
Matteo Scandolo | 38ba331 | 2016-02-09 16:01:49 -0800 | [diff] [blame] | 12 | r: 10, |
Matteo Scandolo | 7dbb191 | 2016-01-25 14:11:10 -0800 | [diff] [blame] | 13 | selectedRadius: 15 |
Matteo Scandolo | da19dff | 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 | 38ba331 | 2016-02-09 16:01:49 -0800 | [diff] [blame] | 20 | }, |
| 21 | rack: { |
Matteo Scandolo | 594dfbc | 2016-02-11 17:37:08 -0800 | [diff] [blame] | 22 | width: 105, |
Matteo Scandolo | 38ba331 | 2016-02-09 16:01:49 -0800 | [diff] [blame] | 23 | height: 50, |
Matteo Scandolo | 1418393 | 2016-02-11 08:58:04 -0800 | [diff] [blame] | 24 | x: -30, |
Matteo Scandolo | 38ba331 | 2016-02-09 16:01:49 -0800 | [diff] [blame] | 25 | y: -25 |
Matteo Scandolo | 1418393 | 2016-02-11 08:58:04 -0800 | [diff] [blame] | 26 | }, |
| 27 | computeNode: { |
| 28 | width: 50, |
| 29 | height: 20, |
Matteo Scandolo | 594dfbc | 2016-02-11 17:37:08 -0800 | [diff] [blame] | 30 | margin: 5, |
| 31 | labelHeight: 10, |
Matteo Scandolo | 1418393 | 2016-02-11 08:58:04 -0800 | [diff] [blame] | 32 | x: -25, |
| 33 | y: -10 |
| 34 | }, |
| 35 | instance: { |
Matteo Scandolo | ed9b403 | 2016-02-16 12:50:50 -0800 | [diff] [blame] | 36 | width: 80, |
| 37 | height: 36, |
Matteo Scandolo | 594dfbc | 2016-02-11 17:37:08 -0800 | [diff] [blame] | 38 | margin: 5, |
Matteo Scandolo | ed9b403 | 2016-02-16 12:50:50 -0800 | [diff] [blame] | 39 | x: -40, |
| 40 | y: -18 |
Matteo Scandolo | db8a185 | 2016-02-23 10:04:36 -0800 | [diff] [blame] | 41 | }, |
| 42 | container: { |
| 43 | width: 60, |
Matteo Scandolo | 653c509 | 2016-02-24 11:14:01 -0800 | [diff] [blame] | 44 | height: 130, |
Matteo Scandolo | db8a185 | 2016-02-23 10:04:36 -0800 | [diff] [blame] | 45 | margin: 5, |
| 46 | x: -30, |
| 47 | y: -15 |
Matteo Scandolo | 7dbb191 | 2016-01-25 14:11:10 -0800 | [diff] [blame] | 48 | } |
Matteo Scandolo | be9b13d | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 49 | }) |
| 50 | |
| 51 | }()); |