Skip to content

Instantly share code, notes, and snippets.

@nielsdejong
Created January 14, 2026 08:29
Show Gist options
  • Select an option

  • Save nielsdejong/0c75a5692e8010593e1af390ae696a69 to your computer and use it in GitHub Desktop.

Select an option

Save nielsdejong/0c75a5692e8010593e1af390ae696a69 to your computer and use it in GitHub Desktop.
{
"title": "Actions scenarios",
"version": "2.4",
"settings": {
"pagenumber": 0,
"editable": true,
"fullscreenEnabled": false,
"parameters": {
"neodash_movie_title": "The Matrix Revolutions",
"neodash_movie_released": {
"low": 1997,
"high": 0
},
"neodash_decade": {
"low": 1990,
"high": 0
},
"neodash_movie_titles": [],
"neodash_movie_titles_display": []
},
"theme": "light"
},
"pages": [
{
"title": "Main page",
"reports": [
{
"id": "dd6951d4-c7aa-4a21-b1a5-a57a51e5e69f",
"title": "Scenario #1 -> Result",
"query": "RETURN $neodash_movie_title\n\n\n",
"width": 10,
"height": 4,
"x": 14,
"y": 0,
"type": "value",
"selection": {},
"settings": {},
"schema": []
},
{
"id": "98f343ff-eb40-49bf-8585-c72e6dc6523c",
"title": "Scenario #2 -> Result",
"query": "RETURN $neodash_movie_released\n\n\n",
"width": 10,
"height": 4,
"x": 14,
"y": 4,
"type": "value",
"selection": {},
"settings": {},
"schema": []
},
{
"id": "71245f1a-862d-421f-952a-e404a23fea4b",
"title": "Scenario #3 -> set invisible value",
"query": "MATCH (m:Movie)\nRETURN m.title, m.released, (m.released/10)*10 as __decade\n\n\n",
"width": 14,
"height": 4,
"x": 0,
"y": 8,
"type": "table",
"selection": {},
"settings": {
"actionsRules": [
{
"condition": "Click",
"field": "m.title",
"value": "__decade",
"customization": "set variable",
"customizationValue": "decade"
}
]
}
},
{
"id": "e79cc12d-c72d-4c3a-b836-f89b0746b6e9",
"title": "Scenario #3 -> Result",
"query": "RETURN $neodash_decade\n\n\n",
"width": 10,
"height": 4,
"x": 14,
"y": 8,
"type": "value",
"selection": {},
"settings": {},
"schema": []
},
{
"id": "78a4c934-442a-458e-8adc-0bdeec674870",
"title": "Scenario #4 - checklist",
"query": "MATCH (m:Movie)\nRETURN m.title, m.released\n\n\n",
"width": 14,
"height": 4,
"x": 0,
"y": 12,
"type": "table",
"selection": {},
"settings": {
"actionsRules": [
{
"condition": "rowCheck",
"field": "",
"value": "m.title",
"customization": "set variable",
"customizationValue": "movie_titles"
}
]
}
},
{
"id": "3bd28e75-4c8c-41bf-abd0-ec43bbd635ce",
"title": "Scenario #4 -> Result",
"query": "RETURN $neodash_movie_titles\n\n\n",
"width": 10,
"height": 4,
"x": 14,
"y": 12,
"type": "table",
"selection": {},
"settings": {}
},
{
"id": "e3c25f88-42cc-4ec9-992b-2a28734cdcad",
"title": "Scenario #5 -> drilldown",
"query": "MATCH (m:Movie)\nRETURN m.title, m.released\n\n\n\n\n\n",
"width": 14,
"height": 4,
"x": 0,
"y": 16,
"type": "table",
"selection": {},
"settings": {
"actionsRules": [
{
"condition": "Click",
"field": "m.title",
"value": "m.title",
"customization": "set variable",
"customizationValue": "movie_title"
},
{
"condition": "Click",
"field": "m.title",
"value": "1/Drilldown page",
"customization": "set page",
"customizationValue": ""
}
]
}
},
{
"id": "5c1f2c7a-48bd-4902-9b2e-e12ebf805b64",
"title": "Scenario #5 -> drilldown",
"query": "Your results will be on another page.\n\n\n\n",
"width": 10,
"height": 4,
"x": 14,
"y": 16,
"type": "text",
"selection": {},
"settings": {},
"schema": []
},
{
"id": "7c5f78a8-8668-4575-bb31-3bda5221b116",
"title": "Scenario #1 -> Basic action",
"query": "MATCH (m:Movie)\nRETURN m.title, m.released\n\n\n\n\n\n",
"width": 14,
"height": 4,
"x": 0,
"y": 0,
"type": "table",
"selection": {},
"settings": {
"actionsRules": [
{
"condition": "Click",
"field": "m.title",
"value": "m.title",
"customization": "set variable",
"customizationValue": "movie_title"
}
]
}
},
{
"id": "758b6f21-aeb7-4493-b5ba-08feaff6d98a",
"title": "Scenario #2 -> Set value from other column",
"query": "MATCH (m:Movie)\nRETURN m.title, m.released\n\n\n\n\n\n",
"width": 14,
"height": 4,
"x": 0,
"y": 4,
"type": "table",
"selection": {},
"settings": {
"actionsRules": [
{
"condition": "Click",
"field": "m.title",
"value": "m.released",
"customization": "set variable",
"customizationValue": "movie_released"
}
]
}
}
]
},
{
"title": "Drilldown page",
"reports": [
{
"id": "f44935df-3a1c-4fc0-9223-98e290c14f69",
"title": "You just drilled down here",
"query": "RETURN $neodash_movie_title\n\n\n",
"width": 10,
"height": 4,
"x": 0,
"y": 0,
"type": "value",
"selection": {},
"settings": {},
"schema": []
}
]
}
],
"parameters": {},
"extensions": {
"active": true,
"activeReducers": [],
"actions": {
"active": true
}
},
"uuid": "4ee8401b-5f2d-4244-9701-bf3dff615e2e"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment