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