sample.json
1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"defn_name": "sample",
"defn_desc": "Sample Cloud Sprite Data",
"_comment": [
"configuration file for loading canned and/or custom sprites (and labels)",
"into the topology view. These appear above the map layer, but below",
"the nodes/links layer."
],
"_comment_custom": "'custom' contains custom path data",
"custom": [
],
"_comment_defn": "'defn' array contains sprite definitions",
"defn": [
{
"id": "subnet",
"class": "sprite1",
"use": "cloud",
"width": 120,
"height": 120,
"scale": 3.0,
"textyoff": 0.4
},
{
"id": "subnet2",
"class": "sprite2",
"use": "cloud",
"width": 200,
"height": 200,
"scale": 3.0,
"textyoff": 0.4
}
],
"_comment_load": "'load' array contains list of sprites to load",
"load": [
{ "id": "subnet", "x": -40, "y":20, "label":"apples" },
{ "id": "subnet", "x":400, "y":40, "label":"bananas" },
{ "id": "subnet", "x":840, "y":60, "label":"cherries" },
{ "id": "subnet2", "x":300, "y":400 }
]
}