A hierarchy is the opposite of a network.
Opposite?
In graph theory, a "network" would be just a graph (you may want it to be a connected graph.)
A "hierarchy" would be something like a "directed acyclic graph" (directed tree)
or just a graph with specific constraints.
See
NetworkVsHierarchy for discussion.
CategoryCategory,
CategoryNetwork,
CategoryClassification