-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdashboard.json
171 lines (171 loc) · 4.69 KB
/
dashboard.json
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
{
"title": "Panama Papers Dashboard 🕵️",
"version": "2.0",
"settings": {
"pagenumber": 0,
"editable": true,
"parameters": {
"neodash_entity_name": null,
"neodash_country_name": null,
"neodash_name": "BEAR"
},
"fullscreenEnabled": true
},
"pages": [
{
"title": "Countries",
"reports": [
{
"title": "Bearer as officer's name",
"query": "MATCH (o:Officer)\nWHERE o.name CONTAINS \"THE BEARER\" AND o.sourceID = \"Panama Papers\"\nRETURN o\nLIMIT 100\n\n\n",
"width": "6",
"type": "graph",
"height": "3",
"selection": {
"Officer": "name"
},
"settings": {
"nodePositions": {},
"frozen": false
}
},
{
"title": "schema",
"query": "CALL db.schema.visualization()\n\n\n",
"width": "8",
"type": "graph",
"height": "3",
"selection": {
"_Neodash_Dashboard": "name",
"Entity": "name",
"Intermediary": "name",
"Address": "name",
"Officer": "name",
"Other": "name"
},
"settings": {
"nodePositions": {}
}
},
{
"title": "Nodes based on a person's name",
"query": "MATCH (o:Officer)\nWHERE o.name CONTAINS $neodash_name AND o.sourceID = \"Panama Papers\"\nRETURN o\nLIMIT 50\n\n",
"width": "8",
"type": "graph",
"height": "3",
"selection": {
"Officer": "name"
},
"settings": {
"nodePositions": {}
},
"parameters": ""
},
{
"title": "Enter Officer's name",
"query": "RETURN true",
"width": 3,
"type": "select",
"height": 3,
"selection": {},
"settings": {
"nodePositions": {},
"type": "Free Text",
"entityType": "name",
"parameterName": "neodash_name",
"helperText": "Input Name",
"manualPropertyNameSpecification": true
}
},
{
"title": "First degree",
"query": "MATCH (o:Officer)\nWHERE o.name CONTAINS $neodash_name AND o.sourceID = \"Panama Papers\"\nMATCH path = (o)-[r]->(:Entity)\nRETURN path LIMIT 100\n\n\n",
"width": "8",
"type": "graph",
"height": "3",
"selection": {
"Officer": "name",
"Entity": "name"
},
"settings": {
"nodePositions": {}
}
}
]
},
{
"title": "Statistics",
"reports": [
{
"title": "Total number of nodes",
"query": "MATCH (n)\nRETURN COUNT(n)",
"width": 3,
"type": "value",
"height": 3,
"selection": {},
"settings": {
"textAlign": "center",
"fontSize": 80,
"marginTop": 50
}
},
{
"title": "Total number of relationships",
"query": "MATCH (n)-[e]->(m)\nRETURN COUNT(e)\n\n\n",
"width": 3,
"type": "value",
"height": 3,
"selection": {},
"settings": {
"fontSize": 80,
"marginTop": 50,
"textAlign": "center"
}
},
{
"title": "Number of nodes by label",
"query": "MATCH (n)\nRETURN labels(n), count(*) as count\nORDER BY count ASC\n\n\n",
"width": 3,
"type": "pie",
"height": 3,
"selection": {
"index": "labels(n)",
"value": "count",
"key": "(none)"
},
"settings": {
"colors": "pastel1",
"marginBottom": 60
}
},
{
"title": "Number of relationship types",
"query": "MATCH (n)-[e]->(m)\nRETURN type(e),count(*) as count\nORDER BY count ASC\n\n\n\n\n\n\n",
"width": 3,
"type": "pie",
"height": 3,
"selection": {
"index": "type(e)",
"value": "count",
"key": "(none)"
},
"settings": {
"colors": "pastel1",
"marginBottom": 60,
"marginLeft": 120,
"marginRight": 120
}
},
{
"title": "Example: using iFrames to embed custom visualizations (3D graph)",
"query": "https://vasturiano.github.io/react-force-graph/example/basic/",
"width": "6",
"type": "iframe",
"height": "3",
"selection": {},
"settings": {}
}
]
}
]
}