<｜begin▁of▁sentence｜>### Instruction:
As an insurance adjuster, you're investigating two separate claims, each involving a different property. One claim pertains to a residential property with identified damages, represented by the graph edges [(0, 1), (1, 2)]. The other claim relates to a commercial property, with its own set of damages captured in the graph [(2, 3), (3, 4)]. 

To streamline your evaluation process, you need to merge these graphs to understand the overall impact across both properties. Utilizing a specialized tool like the "GraphMerge" API, you aim to combine these graphs into a comprehensive view of damages. Once merged, you'll then need to extract and document the edges of the resulting graph to better inform your assessment and settlement recommendations for both claims.
### Response:
from igraph import Graph

# Create two graphs
g1 = Graph(edges=[(0, 1), (1, 2)])
g2 = Graph(edges=[(2, 3), (3, 4)])

# Use union to combine the graphs
g_union = g1.union(g2, byname=False)

# Print the edges of the union graph
print(g_union.get_edgelist())
<|EOT|>
