<｜begin▁of▁sentence｜>### Instruction:
Can you generate an undirected graph with 100 nodes using the Forest Fire model with a forward burning probability of 0.4, backward to forward burning probability ratio of 0.9, and one ambassador chosen in each step? After creating the graph, can you calculate and print the diameter of the generated graph?
### Response:
from igraph import GraphBase

# Parameters for Forest Fire Model
g = GraphBase.Forest_Fire(n=100, fw_prob=0.4, bw_factor=0.9, ambs=1, directed=False)

# Analyze the graph (example: calculate diameter of the graph)
diameter = g.diameter()
print('Diameter of the graph:', diameter)
<|EOT|>
