<｜begin▁of▁sentence｜>### Instruction:
As a financial planner, you may encounter situations where you need to visualize and analyze financial networks to optimize investment strategies. For example, imagine you have a set of five investment opportunities, each connected to the others in a specific sequence, forming a closed loop-like structure. Using network analysis tools, such as NetworkX, you could represent this scenario as an empty undirected graph and then add edges [(0, 1), (1, 2), (2, 3), (3, 4), (4, 0)] to illustrate the connections. This would allow you to gain insights into the interrelationships between these investments and explore potential strategies for maximizing returns within this interconnected network.
### Response:
import igraph as ig

# Create an empty, undirected graph
g = ig.Graph()

# Add vertices
g.add_vertices(5)

# Add edges with tuples (vertex IDs start from 0)
edges_to_add = [(0, 1), (1, 2), (2, 3), (3, 4), (4, 0)]
g.add_edges(edges_to_add)

# Print the summary of the graph
g.summary()
<|EOT|>
