blob: 74b9129c3f238b53e9699b3680fbc0d6436648eb [file] [log] [blame]
Simon Hunt9c1c45e2015-04-10 13:38:27 -07001{
Simon Hunt2052e5d2015-04-13 17:40:44 -07002 "file_desc": "Cloud Sprite Data",
3
Simon Hunt9c1c45e2015-04-10 13:38:27 -07004 "_comment": [
5 "configuration file for loading canned and/or custom sprites (and labels)",
6 "into the topology view. These appear above the map layer, but below",
7 "the nodes/links layer."
8 ],
9
Simon Hunt2052e5d2015-04-13 17:40:44 -070010 "_comment_custom": "'custom' contains custom path data",
11 "custom": [
12
13 ],
14
15 "_comment_defn": "'defn' array contains sprite definitions",
Simon Hunt9c1c45e2015-04-10 13:38:27 -070016 "defn": [
Simon Hunt9c1c45e2015-04-10 13:38:27 -070017 {
Simon Hunt2052e5d2015-04-13 17:40:44 -070018 "id": "subnet",
19 "class": "sprite1",
20 "use": "cloud",
21 "width": 120,
22 "height": 120,
23 "scale": 3.0,
24 "textyoff": 0.4
25 },
26 {
27 "id": "subnet2",
28 "class": "sprite2",
29 "use": "cloud",
30 "width": 200,
31 "height": 200,
32 "scale": 3.0,
33 "textyoff": 0.4
Simon Hunt9c1c45e2015-04-10 13:38:27 -070034 }
Simon Hunt2052e5d2015-04-13 17:40:44 -070035 ],
36
37 "_comment_load": "'load' array contains list of sprites to load",
38 "load": [
39 { "id": "subnet", "x": -40, "y":20, "label":"apples" },
40 { "id": "subnet", "x":400, "y":40, "label":"bananas" },
41 { "id": "subnet", "x":840, "y":60, "label":"cherries" },
42 { "id": "subnet2", "x":300, "y":400 }
Simon Hunt9c1c45e2015-04-10 13:38:27 -070043 ]
44}