UML Modeling Techniques > Object interaction modeling > Sequence diagram > Statements > Showing line numbers on a sequence diagram
  
Showing line numbers on a sequence diagram
1. On the Sequence Diagram, right-click the diagram background, and then click View Options
2. Click the Diagram entry.
3. Select the Show Line Numbers with PDL Statements check box.
4. Click OK.