code: func OutDegree(nodes []Node) map[Node]int {
  	degree := make(map[Node]int, len(nodes))
  	for _, n := range nodes {
  		degree[n] = len(n.Edges())
  	}
  	return degree
  }
docs: // OutDegree is used to compute the in-degree of nodes