<｜begin▁of▁sentence｜>### Instruction:
As a Sex Therapist, you may encounter scenarios where understanding different aspects and dynamics of relationships is crucial. Consider a case where you're working with a couple, Alex and Jordan, who are struggling to integrate their separate social circles. Alex and Jordan each have their own group of friends, represented as two distinct social graphs. Alex's graph consists of connections between individuals denoted by edges (0, 1) and (0, 2), while Jordan's graph involves connections (1, 2) and (3, 4). Now, you want to help them visualize how their social circles can merge harmoniously.

To do this, you can use a specialized tool called `disjoint_union` provided by NetworkX, a platform tailored for analyzing and visualizing complex networks. This function combines the two graphs while ensuring that the nodes from each graph remain distinct. By creating the disjoint union of Alex and Jordan's social networks, you'll be able to illustrate how their combined social circles look without losing track of their individual connections. After performing this operation, you can examine the resulting graph's edge set to gain insights into the interconnectedness of their relationships.
### Response:
import networkx as nx

# Create two simple graphs
g1 = nx.Graph()
g1.add_edges_from([(0, 1), (0, 2)])
g2 = nx.Graph()
g2.add_edges_from([(1, 2), (3, 4)])

# Create the disjoint union of both graphs
d_union_graph = nx.disjoint_union(g1, g2)

# Print the edges of the resulting graph
print(d_union_graph.edges())
<|EOT|>
