<｜begin▁of▁sentence｜>### Instruction:
As a computer programmer, you might need to analyze and visualize the interactions within a network of connected entities. Let's say you have a dataset representing the connections between different users in a social network. You are now tasked with writing a program to calculate and display all the direct paths from a specific user to every other reachable user in the network. To accomplish this, you might utilize the functions provided by the NetworkX API to work with the graph representation of the social network and find the simple paths from the starting user to all reachable users.
### Response:
from igraph import Graph

# Create a simple graph
g = Graph([(0, 1), (1, 2), (1, 3), (3, 4), (1, 4)])

# Calculate all simple paths from vertex 0 to all other vertices
g_all_paths = g.get_all_simple_paths(0, to=None, cutoff=-1, mode='ALL')

# Print the paths
for path in g_all_paths:
    print(path)
<|EOT|>
