newpage support for Activity (beta) diagrams

+1 vote
asked Dec 7, 2022 in Wanted features by rohel (140 points)

Would it be possible for Activity diagrams to support the newpage keyword?

I have big diagrams that do not correctly render to PNG (output is cropped).
Using SVG, the full diagrams are generated but their size makes them difficult to include in a paged document.

My current workaround is to open the SVG in Chrome and use "Print to PDF".

Do you have a better workaround?

Kind regards,

1 Answer

0 votes
answered Dec 8, 2022 by plantuml (292,220 points)

Would that help if we add support for page ?x? like in class diagram ?

commented Dec 9, 2022 by rohel (140 points)
Yes, this would most certainly help, thanks!

The only downside that I can see is that it can since page breaks are automatic, there are scenarios where users would prefer manually add them in the diagram source to guarantee closely linked activity steps would remain on the same page.
commented Dec 9, 2022 by plantuml (292,220 points)

Well, it seems to work already:

page 2x2

but not on the online server, not sure why...