<｜begin▁of▁sentence｜>### Instruction:
Given a graph stored in 'network.graphml', how do you compute the PageRank values considering it as a directed graph and using a damping factor of 0.85?
### Response:
import igraph as ig

# Load the graph from a GraphML file
g = ig.Graph.Read_GraphML('network.graphml')

# Calculate PageRank scores for all vertices
damping_factor = 0.85
page_rank_scores = g.pagerank(directed=True, damping=damping_factor)

# Print the PageRank scores
print(page_rank_scores)
<|EOT|>
