State Diagram text

While working through the Object-oriented Technology book, p206 shows some text that sort of looks like a state but I can’t recreate it. See the attached image: it is the text next to the pencil tip beginning with ‘transaction success’ and then other text separated by a solid line.

I think this is a good way to anotate drawings but I’m at a loss as to how to do this.
StateDiagr.JPG

hi GregBen,
Thx for using Object-oriented Technology book and our prodect.
The solid line is a string of character ‘_’ , you can type it in the caption of the message.
whitehole

I didn’t even think of that! Double click the line and instead of typing a single line like ‘insert card’ type ‘transaction succcess’, , a bunch of underscores, , Dispense cash, , etc.

Thanks for the heads-up!