sprites.json
951 Bytes
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
{
"_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_defn": "'defn' array contains custom sprite definitions",
"defn": [
],
"_comment_defstyle": "'defstyle' defines default styles to apply",
"defstyle": {
"sprite": {
"stroke": "goldenrod",
"stroke-width": 1.0,
"fill": "none"
},
"text": {
"text-style": "italic",
"test-size": "20pt"
}
},
"_comment_load": [
"'load' array contains list of sprites/labels to load",
" note that 'copies' array defines [x,y] coords to position copies"
],
"load": [
{
"id": "cloud",
"width": 100,
"height": 100,
"scale": 4.0,
"copies": [
[0, 50], [800, 40], [400, 450]
],
"style": {
"stroke": "green"
}
}
]
}