To enumerate elements in a diagram, use the number plugin by adding p=number to the URL. Here is an example.