<｜begin▁of▁sentence｜>### Instruction:
As an archivist tasked with organizing historical documents, you are faced with the challenge of identifying the most influential documents within a collection. How can you use your expertise to create a hierarchical structure that reflects the influence and dominance of certain key documents over others within the collection?
### Response:
import igraph as ig

# Create a new directed graph
g = ig.Graph(directed=True)
g.add_vertices(5)
g.add_edges([(0,1), (1,2), (1,3), (0,4)])

# Calculate the dominator tree from the root node (0)
dominator_tree = g.dominator(0)

# Print the dominator tree
print(dominator_tree)
<|EOT|>
