Use Blank Nodes identifier https://docs.dgraph.io/mutations/#edges-between-nodes
In the tour there’s an example for this in JSON answer https://tour.dgraph.io/schema/2/
In https://tour.dgraph.io/intro/4/ you have another similar example.
Use Blank Nodes identifier https://docs.dgraph.io/mutations/#edges-between-nodes
In the tour there’s an example for this in JSON answer https://tour.dgraph.io/schema/2/
In https://tour.dgraph.io/intro/4/ you have another similar example.