To facilitate better answering of questions, if you have a question, please fill in the following info. Otherwise, please delete the template.
What I want to do
I want to compare two nodes and its children. If one of the child is different → show tree
Please list the high level idea of what you want to do
What I did
My data =
{
"set": [
{
"entity": "story",
"entity_name": "story1",
"follows": {
"entity": "intent",
"entity_name": "intent_1",
"follows": {
"entity": "action",
"entity_name": "action_1"
}
}
},
{
"entity": "story",
"entity_name": "story1",
"follows": {
"entity": "intent",
"entity_name": "intent_1",
"follows": {
"entity": "action",
"entity_name": "action_2"
}
}
}
]
}
- A → B → C
- A → B → D
Result I want to get
A
B
C D
A
│
B
─└─
│ │
C D
Please list the things you have tried.
Dgraph metadata
dgraph version
PASTE THE RESULTS OF dgraph version
HERE.