<｜begin▁of▁sentence｜>### Instruction:
As an insurance investigator, you are tasked with examining a network of 7 interconnected insurance claims to determine if they are legitimate or potentially fraudulent. The claims are organized in a tree-like structure with a branching factor of 2, creating cohesive blocks of related claims. Your objective is to identify the specific connections (edges) between the claims within each cohesive block to gain a comprehensive understanding of the network and detect any irregularities. This analysis will enable you to verify the legitimacy of the insurance claims and prevent potential fraud.
### Response:
from igraph import Graph
from igraph.clustering import CohesiveBlocks

# Create a graph
graph = Graph.Tree(7, 2)

# Initialize the cohesive blocks object
cohesive_blocks = CohesiveBlocks(graph)

# Detect the cohesive blocks
cohesive_blocks = cohesive_blocks.calculate()

# Get subgraphs for each block
cb_subgraphs = cohesive_blocks.subgraphs()

# Print the edges of each subgraph
for i, sg in enumerate(cb_subgraphs):
    print(f'Subgraph {i+1}, edges:', sg.get_edgelist())
<|EOT|>
