blob: 58d4702b70b7f06ae40998b1dfeaf56ab24f1cf8 [file] [log] [blame]
{
"defn_name": "segmentRouting",
"defn_desc": "Schematic of Data Center",
"paths": [
{
"tag": "chassis",
"stroke": {
"width": 3.5
},
"viewbox": "0 0 120 170",
"d": "M10,10h80v150h-80z"
},
{
"tag": "module",
"stroke": {
"width": 2
},
"viewbox": "0 0 120 20",
"d": "M15,5h70v12h-70z"
}
],
"defn": [
{
"id": "rack",
"path": "chassis",
"fill": "gray2",
"subpathfill": "blue2",
"subpaths": [
{ "path": "module", "pos": [0, 0]},
{ "path": "module", "pos": [0, 20]},
{ "path": "module", "pos": [0, 40]},
{ "path": "module", "pos": [0, 60]}
],
"dim":[120,170]
}
],
"load": {
"alpha": 0.9,
"sprites": [
{ "id": "rack", "pos":[200,600], "class":"blue1" },
{ "id": "rack", "pos":[400,600], "class":"blue1" },
{ "id": "rack", "pos":[600,600], "class":"blue1" },
{ "id": "rack", "pos":[800,600], "class":"blue1" }
],
"labels": [
{ "pos":[550,80], "text":"", "class":"blue1", "size":1.4 }
]
}
}