code: func newNodeTree(nodes []*v1.Node) *NodeTree {
  	nt := &NodeTree{
  		tree: make(map[string]*nodeArray),
  	}
  	for _, n := range nodes {
  		nt.AddNode(n)
  	}
  	return nt
  }
docs: // newNodeTree creates a NodeTree from nodes.