Initial commit for AAI-UI(sparky-backend)
[aai/sparky-be.git] / src / main / config / aaiEntityNodeDescriptors.json
1 {
2         "generalNodeClass": {
3                 "class": "aai-entity-node general-node",
4                 "visualElements": [{
5                         "type": "circle",
6                         "class": "outer",
7                         "svgAttributes": {
8                                 "r": "16"
9                         }
10                 },
11                 {
12                         "type": "circle",
13                         "class": "inner",
14                         "svgAttributes": {
15                                 "r": "10"
16                         }
17                 },
18                 {
19                         "type": "text",
20                         "class": "id-type-label",
21                         "displayKey": "itemType",
22                         "shapeAttributes": {
23                                 "offset": {
24                                         "x": "0",
25                                         "y": "33"
26                                 }
27                         }
28                 },
29                 {
30                         "type": "text",
31                         "class": "id-value-label",
32                         "displayKey": "itemNameValue",
33                         "shapeAttributes": {
34                                 "offset": {
35                                         "x": "0",
36                                         "y": "48"
37                                 }
38                         }
39                 }]
40         },
41         "searchedNodeClass": {
42                 "class": "aai-entity-node search-node",
43                 "visualElements": [{
44                         "type": "circle",
45                         "class": "outer",
46                         "svgAttributes": {
47                                 "r": "16"
48                         }
49                 },
50                 {
51                         "type": "circle",
52                         "class": "inner",
53                         "svgAttributes": {
54                                 "r": "10"
55                         }
56                 },
57                 {
58                         "type": "text",
59                         "class": "id-type-label",
60                         "displayKey": "itemType",
61                         "shapeAttributes": {
62                                 "offset": {
63                                         "x": "0",
64                                         "y": "33"
65                                 }
66                         }
67                 },
68                 {
69                         "type": "text",
70                         "class": "id-value-label",
71                         "displayKey": "itemNameValue",
72                         "shapeAttributes": {
73                                 "offset": {
74                                         "x": "0",
75                                         "y": "48"
76                                 }
77                         }
78                 }]
79         },
80         "selectedSearchedNodeClass": {
81                 "class": "aai-entity-node selected-search-node",
82                 "visualElements": [{
83                         "type": "circle",
84                         "class": "outer",
85                         "svgAttributes": {
86                                 "r": "31"
87                         }
88                 },
89                 {
90                         "type": "circle",
91                         "class": "inner",
92                         "svgAttributes": {
93                                 "r": "20"
94                         }
95                 },
96                 {
97                         "type": "text",
98                         "class": "id-type-label",
99                         "displayKey": "itemType",
100                         "shapeAttributes": {
101                                 "offset": {
102                                         "x": "0",
103                                         "y": "48"
104                                 }
105                         }
106                 },
107                 {
108                         "type": "text",
109                         "class": "id-value-label",
110                         "displayKey": "itemNameValue",
111                         "shapeAttributes": {
112                                 "offset": {
113                                         "x": "0",
114                                         "y": "63"
115                                 }
116                         }
117                 },
118                 {
119                         "type": "button",
120                         "name": "icon_ellipses",
121                         "class": "node-button",
122                         "shapeAttributes": {
123                                 "offset": {
124                                         "x": "33",
125                                         "y": "-35"
126                                 }
127                         },
128                         "svgAttributes": {
129                                 "className": "node-button",
130                                 "r": "10"
131                         }
132                 }]
133         },
134         "selectedNodeClass": {
135                 "class": "aai-entity-node selected-node",
136                 "visualElements": [{
137                         "type": "circle",
138                         "class": "outer",
139                         "svgAttributes": {
140                                 "r": "31"
141                         }
142                 },
143                 {
144                         "type": "circle",
145                         "class": "inner",
146                         "svgAttributes": {
147                                 "r": "20"
148                         }
149                 },
150                 {
151                         "type": "text",
152                         "class": "id-type-label",
153                         "displayKey": "itemType",
154                         "shapeAttributes": {
155                                 "offset": {
156                                         "x": "0",
157                                         "y": "48"
158                                 }
159                         }
160                 },
161                 {
162                         "type": "text",
163                         "class": "id-value-label",
164                         "displayKey": "itemNameValue",
165                         "shapeAttributes": {
166                                 "offset": {
167                                         "x": "0",
168                                         "y": "63"
169                                 }
170                         }
171                 },
172                 {
173                         "type": "button",
174                         "name": "icon_ellipses",
175                         "class": "node-button",
176                         "shapeAttributes": {
177                                 "offset": {
178                                         "x": "33",
179                                         "y": "-35"
180                                 }
181                         },
182                         "svgAttributes": {
183                                 "className": "node-button",
184                                 "r": "10"
185                         }
186                 }]
187         }
188 }