<｜begin▁of▁sentence｜>### Instruction:
As a network analyst, I can help with understanding and traversing the structure of a directed graph. Imagine you are working as a paleoclimatologist and you have collected data on 10 different regions to understand how environmental conditions have changed over time. Each region is connected to a network of 20 channels, representing various factors that influence the climate. Now, you want to explore this network starting from a specific region (referred to as the root region) and analyze the relationships between regions and their influences on each other. In this context, you want to develop a method, potentially using networkx library in Python, to conduct a guided exploration of the network, capturing the levels of influence and identifying the influences between regions as you traverse the network from the root region.
### Response:
from igraph import GraphBase

graph = GraphBase.Erdos_Renyi(n=10, m=20, directed=True)
# Create a DFS iterator starting from vertex 0
dfs_iterator = graph.dfsiter(vid=0, mode='out', advanced=True)

# Iterate over the vertices using the DFS iterator
for vertex, level, parent in dfs_iterator:
    print(f'Vertex: {vertex} - Level: {level}, Parent: {parent}')
<|EOT|>
