blob: 75b5fe7ef468bf70e03e88032097dc1489bfe156 [file] [log] [blame]
Matteo Scandolobe9b13d2016-01-21 11:21:03 -08001(function () {
2 'use strict';
3
Matteo Scandolo4b3d8722016-02-24 11:22:48 -08004 angular.module('xos.diagnostic')
Matteo Scandolobe9b13d2016-01-21 11:21:03 -08005 .constant('serviceTopologyConfig', {
Matteo Scandoloda19dff2016-02-08 16:55:44 -08006 widthMargin: 20,
Matteo Scandolo4889f5a2016-01-25 12:00:42 -08007 heightMargin: 30,
Matteo Scandolo7dbb1912016-01-25 14:11:10 -08008 duration: 750,
Matteo Scandolo4aae3aa2016-02-16 16:33:26 -08009 elWidths: [20, 104, 105, 104, 20], //this is not true
Matteo Scandolo7dbb1912016-01-25 14:11:10 -080010 circle: {
11 radius: 10,
Matteo Scandolo38ba3312016-02-09 16:01:49 -080012 r: 10,
Matteo Scandolo7dbb1912016-01-25 14:11:10 -080013 selectedRadius: 15
Matteo Scandoloda19dff2016-02-08 16:55:44 -080014 },
15 square: {
16 width: 20,
17 height: 20,
18 x: -10,
19 y: -10
Matteo Scandolo38ba3312016-02-09 16:01:49 -080020 },
21 rack: {
Matteo Scandolo594dfbc2016-02-11 17:37:08 -080022 width: 105,
Matteo Scandolo38ba3312016-02-09 16:01:49 -080023 height: 50,
Matteo Scandolo14183932016-02-11 08:58:04 -080024 x: -30,
Matteo Scandolo38ba3312016-02-09 16:01:49 -080025 y: -25
Matteo Scandolo14183932016-02-11 08:58:04 -080026 },
27 computeNode: {
28 width: 50,
29 height: 20,
Matteo Scandolo594dfbc2016-02-11 17:37:08 -080030 margin: 5,
31 labelHeight: 10,
Matteo Scandolo14183932016-02-11 08:58:04 -080032 x: -25,
33 y: -10
34 },
35 instance: {
Matteo Scandoloed9b4032016-02-16 12:50:50 -080036 width: 80,
37 height: 36,
Matteo Scandolo594dfbc2016-02-11 17:37:08 -080038 margin: 5,
Matteo Scandoloed9b4032016-02-16 12:50:50 -080039 x: -40,
40 y: -18
Matteo Scandolodb8a1852016-02-23 10:04:36 -080041 },
42 container: {
43 width: 60,
Matteo Scandolo653c5092016-02-24 11:14:01 -080044 height: 130,
Matteo Scandolodb8a1852016-02-23 10:04:36 -080045 margin: 5,
46 x: -30,
47 y: -15
Matteo Scandolo7dbb1912016-01-25 14:11:10 -080048 }
Matteo Scandolobe9b13d2016-01-21 11:21:03 -080049 })
50
51}());