Initial framework for hierarchy builder. Needs DirectedEdge and
EdgeInfo attribution to go much further.