Figure 1: The diagram produced by the sample code