Matteo Scandolo | be9b13d | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 1 | (function () { |
| 2 | 'use strict'; |
| 3 | |
| 4 | angular.module('xos.serviceTopology') |
| 5 | .constant('serviceTopologyConfig', { |
Matteo Scandolo | da19dff | 2016-02-08 16:55:44 -0800 | [diff] [blame] | 6 | widthMargin: 20, |
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, |
| 9 | circle: { |
| 10 | radius: 10, |
Matteo Scandolo | 38ba331 | 2016-02-09 16:01:49 -0800 | [diff] [blame] | 11 | r: 10, |
Matteo Scandolo | 7dbb191 | 2016-01-25 14:11:10 -0800 | [diff] [blame] | 12 | selectedRadius: 15 |
Matteo Scandolo | da19dff | 2016-02-08 16:55:44 -0800 | [diff] [blame] | 13 | }, |
| 14 | square: { |
| 15 | width: 20, |
| 16 | height: 20, |
| 17 | x: -10, |
| 18 | y: -10 |
Matteo Scandolo | 38ba331 | 2016-02-09 16:01:49 -0800 | [diff] [blame] | 19 | }, |
| 20 | rack: { |
Matteo Scandolo | 1418393 | 2016-02-11 08:58:04 -0800 | [diff] [blame] | 21 | width: 60, |
Matteo Scandolo | 38ba331 | 2016-02-09 16:01:49 -0800 | [diff] [blame] | 22 | height: 50, |
Matteo Scandolo | 1418393 | 2016-02-11 08:58:04 -0800 | [diff] [blame] | 23 | x: -30, |
Matteo Scandolo | 38ba331 | 2016-02-09 16:01:49 -0800 | [diff] [blame] | 24 | y: -25 |
Matteo Scandolo | 1418393 | 2016-02-11 08:58:04 -0800 | [diff] [blame] | 25 | }, |
| 26 | computeNode: { |
| 27 | width: 50, |
| 28 | height: 20, |
| 29 | x: -25, |
| 30 | y: -10 |
| 31 | }, |
| 32 | instance: { |
| 33 | width: 40, |
| 34 | height: 16, |
| 35 | x: -20, |
| 36 | y: -8 |
Matteo Scandolo | 7dbb191 | 2016-01-25 14:11:10 -0800 | [diff] [blame] | 37 | } |
Matteo Scandolo | be9b13d | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 38 | }) |
| 39 | |
| 40 | }()); |