<｜begin▁of▁sentence｜>### Instruction:
As a Leisure Travel Agent, imagine a scenario where a client is planning a group vacation with multiple destinations, and they want to calculate the most cost-efficient routes between the locations. The client needs to visualize the Gomory-Hu tree of the possible routes, along with the calculated cost for each route. Can you provide a solution using the "gomory_hu_tree" function from the igraph library to calculate and display the tree edges and associated flow values?
### Response:
import igraph as ig

# Create an igraph Graph
graph = ig.Graph(edges=[(0, 1), (1, 2), (2, 3), (3, 0), (0, 2)], edge_attrs={'weight': [10, 5, 15, 10, 5]})

# Calculate Gomory-Hu tree with edge weights as capacities
gh_tree = graph.gomory_hu_tree(capacity='weight', flow='flow')

# Print the Gomory-Hu tree edges with their flow values
for edge in gh_tree.es:
    print((edge.source, edge.target), edge['flow'])
<|EOT|>
