blob: a69331746b17d9ec1f71e7af8ea35956be85ffd6 [file] [log] [blame]
Matteo Scandolo8a64fa42016-01-21 11:21:03 -08001(function () {
2 'use strict';
3
4 angular.module('xos.serviceTopology')
5 .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 Scandolobec0a6c2016-02-11 17:58:18 -08009 elWidths: [20, 104, 105, 104, 20, 150],
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: {
36 width: 40,
37 height: 16,
Matteo Scandolocc0db942016-02-11 17:37:08 -080038 margin: 5,
Matteo Scandolo170d3be2016-02-11 08:58:04 -080039 x: -20,
40 y: -8
Matteo Scandolocb12a1a2016-01-25 14:11:10 -080041 }
Matteo Scandolo8a64fa42016-01-21 11:21:03 -080042 })
43
44}());