Best way to create a weighted edge graph

Looking at it from another angle…

Weighted edges can be accomplished thru edge facets. Dgraph supports that, but only in DQL. See https://dgraph.io/docs/query-language/facets/