Sequence diagrams: Add column headers in middle of diagram

0 votes
asked Oct 11 in Wanted features by dlidstrom (220 points)
Some sequence diagrams that become very high are sometimes hard to understand, due to the fact that the column headers are only on top and on bottom (usually). I thought it would be useful to be able to repeat the column headers in the middle of the diagram, so that the viewer does not have to scroll up to see them.

Probably the complete header is necessary, i.e. name with boxes or actor figures too.

I am thinking some syntax similar to the == xxx === syntax for dividers since this would be almost the same. I.e. adding something horizontally at a custom location.

1 Answer

0 votes
answered Oct 30 by mgrol (2,690 points)

Hi,

if you still have the problem and you can live with the fact that plantuml will generate multiple images, try adding a "newpage"

@startuml
Alice -> Bob: hello
newpage
Bob --> Alice : hello back
@enduml

This will generate two images with header and footer

BR,

Michaek

...