<｜begin▁of▁sentence｜>### Instruction:
As a doctor, you recently received a referral for a patient in your care who has been experiencing irregularities in their heart rhythm. You need to retrieve and print all the relevant ECG data associated with this patient's ID number 3 from the hospital's system, in order to assess and monitor their heart health.
### Response:
import igraph as ig

# Load a graph
g = ig.read('network.gml')

# Get all edges of a specific vertex
vertex_id = 3
vertex = g.vs[vertex_id]
all_edges_of_vertex = vertex.all_edges()

# Print the edges
print(all_edges_of_vertex)
<|EOT|>
