Hide connecting nodes in graph

Is there any way to make the graph look as though a node is connected children of a child if you don’t select and predicates of the intermediate node?

So for example

search → results → document

Search has many results but each result has one document.

So I would like the graph to look as if search is connected to many documents. Without showing the result node.

Thanks

Dean

I am not very familiar with it, but look into the @normalize directive and see if it solves what you need.

https://dgraph.io/docs/query-language/normalize-directive/

Thanks I’ll give it a try.