I have multiple single sequence diagrams. most of them have the same initialization and termination sequence.
It is possible to copy this from one file to the other but it would be much better if this part could be declared at a single point. So in case of a change it would not be necessary to change all the diagrams.
Is there a way to do this ?
I tried to comment to JRI's answer but I don't have a high enough reputation.
I found that !include
works until you need to include the same file multiple times. I got a solution on a plantuml forum and I can't remember the forum but I do remember the solution. On the second and each additional time you include a file you want to use !include_many
.