Multiline usecase actor name?

0 votes
asked Nov 4, 2018 in Question / help by lorny
Hi, I'm new to plantuml and tried to creat my first use-case diagram...

But I do have an actor which is {abstract} and I'd love to see his name on two lines.
For the abstract-tag I got a macro which works. But no idea how to create the new line (/n does not work).

This creates an error:

!define ABSTRACT {abstract}



Thanks for any help!

1 Answer

+1 vote
answered Nov 4, 2018 by plantuml (279,680 points)

You can use

!define ABSTRACT {abstract}
actor FOO1 as "ABSTRACT

Is this what you are looking for ?

commented Nov 4, 2018 by lory
thanks a lot, that's exactly what I was looking for :)

then with
skinparam defaultTextAlignment center
I can center it.