<｜begin▁of▁sentence｜>### Instruction:
As a professional organizer, imagine you're tasked with optimizing a workspace layout for a small business with 10 employees. You've created a floor plan representing the office layout using the Erdős-Rényi model, which simulates the connections between workstations. Now, using a tool like igraph's Graph.diversity method, you need to assess the structural diversity index of each workstation. This index will help determine how well-connected and accessible each workstation is within the office network, aiding in the arrangement of the workspace for improved collaboration and efficiency among employees.
### Response:
import igraph as ig

# Create a simple undirected graph
g = ig.Graph.Erdos_Renyi(n=10, p=0.5)

# Calculate the structural diversity index of the vertices
diversity_scores = g.diversity()

# Print the structural diversity index of each vertex
for idx, score in enumerate(diversity_scores):
    print(f'Vertex {idx}: Diversity index = {score}')
<|EOT|>
