<｜begin▁of▁sentence｜>### Instruction:
As a technical writer, you may be asked to create documentation for a network analysis tool such as NetworkX. You might need to convey how to retrieve and print incident edges for a specific vertex in an undirected graph. For example, you could explain how to use the NetworkX library in Python to accomplish this task by utilizing its built-in functions, such as `incident_edges()`, for the Vertex class. This documentation would need to be clear and comprehensive, ensuring that users can easily understand how to work with graph data structures and access specific edge information within a practical scenario.
### Response:
from igraph import Graph

# Create an undirected graph
edges = [(0, 1), (1, 2), (2, 3), (3, 4), (4, 0)]
g = Graph(edges=edges)

# Choose a vertex
vertex_id = 1

# Get incident edges of the chosen vertex
incident_edges = g.vs[vertex_id].incident()

# Print the incident edges
print(f'Incident edges of vertex {vertex_id}:', incident_edges)
<|EOT|>
