<｜begin▁of▁sentence｜>### Instruction:
As an immigration lawyer, your expertise lies in representing and advising clients on immigration laws, visas, and citizenship matters. Imagine a scenario where you're assisting a client who is navigating the complex process of obtaining citizenship. In this context, let's rephrase your question:

"When assisting a client with their citizenship application, you encounter various documents and forms representing different aspects of their background. Utilizing a tool similar to the decompose function in igraph, how would you organize and list the components of these documents? Additionally, how could you provide a breakdown of the number of entries and details within each component to ensure thoroughness in the application process?"
### Response:
import igraph as ig

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

# Decompose the graph into its components and get a list of subgraphs
subgraphs = g.decompose()

# Print the details of each component
for i, subgraph in enumerate(subgraphs):
    print(f'Component {i+1}:', subgraph)
    print(f'Number of vertices in component {i+1}:', subgraph.vcount())
    print(f'Number of edges in component {i+1}:', subgraph.ecount())
<|EOT|>
