Is there any way to get the information of the connection between two nodes in the JSON response ?
{
addresses(func: eq(address, ["000F5D2f"], ["00514912"])) {
address
containerItems0: ~box0 {
address
box1 {
address
}
box0 {
address
}
}
containerItems1: ~box1 {
address
box0 {
address
}
box1 {
address
}
}
}
}
This gets the containerItems connected to the box0 and box1 of the result by a reverse predicate.
This works well, but in ratle, I can see the cross-connections between the boxes from the first and the second address through their respective containers. Meaning that if both addresses have containers that have either box0 or box1, you can see these interconnected in rattle.
When I hover over an edge that connects one container from one address to one container from the other address via a box, I can see this : 0x95b07e box1 0x95b056.
Now, my question is … is there any way to extract on the query result, these edge connections by their UID just as i see in Ratle ? The JSON output does not include the edge cross-connections or interconnected nodes. This is one of my needs in this application, but I can’t figure out how to do it. Just need to know if this is possible or needs to be done outside of dgraph.
Thanks