<｜begin▁of▁sentence｜>### Instruction:
Given a set of 10 vertices with alternating types labeled as 1 and 2, can you generate a graph using the Establishment method in igraph that creates a simple growing model based on these vertex types?
### Response:
import igraph as ig

# Define the number of vertices and the types for each vertex
num_vertices = 10
vertex_types = [1, 2, 1, 2, 1, 2, 1, 2, 1, 2]

# Create a graph using the Establishment method
established_graph = ig.Graph.Establishment(num_vertices, type_seq=vertex_types)

# Print the graph summary
print(established_graph.summary())
<|EOT|>
