blob: f4ce77529561a04199b286666a7474eb869e4c75 [file] [log] [blame]
(function () {
'use strict';
angular.module('xos.serviceTopology')
.constant('serviceTopologyConfig', {
widthMargin: 20,
heightMargin: 30,
duration: 750,
// elWidths: { // this is the fixed width for elements
// devices: 20,
// subscribers: 20,
// router: 20,
// network: 104,
// rack: 105
// },
elWidths: [20, 104, 105, 104, 20, 150],
circle: {
radius: 10,
r: 10,
selectedRadius: 15
},
square: {
width: 20,
height: 20,
x: -10,
y: -10
},
rack: {
width: 105,
height: 50,
x: -30,
y: -25
},
computeNode: {
width: 50,
height: 20,
margin: 5,
labelHeight: 10,
x: -25,
y: -10
},
instance: {
width: 40,
height: 16,
margin: 5,
x: -20,
y: -8
}
})
}());