code: func (e deviceGatewayEdge) Weight() float64 {
  	weight := float64(1)
  
  	gwNodes := e.graph.From(eui64Int64(e.gatewayID))
  
  	if gwNodes.Len() != 0 {
  		weight = weight / float64(gwNodes.Len())
  	}
  
  	return weight
  }
docs: // Weight implements graph.WeightedEdge.
  // The returned weight is equal to 1 / number of devices covered by the
  // gateway.