<｜begin▁of▁sentence｜>### Instruction:
As a patent examiner, you have received a set of patent applications related to networking technologies. Using the indegree function in igraph, you need to analyze the connectivity of the network to determine the influence and relevance of each technology component. Can you use the indegree function in igraph to find the in-degree of each component in the network, based on the provided set of directed edges (0, 1), (0, 2), (2, 3), (3, 4), (4, 2)?
### Response:
import igraph as ig

# Create a graph
edges = [(0, 1), (0, 2), (2, 3), (3, 4), (4, 2)]
g = ig.Graph(edges, directed=True)

# Get the in-degree for all vertices
indegrees = g.indegree()
print(indegrees)
<|EOT|>
