Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Support for multi-page uml #65

Open
benafischer94 opened this issue Apr 15, 2022 · 1 comment
Open

Feature Request: Support for multi-page uml #65

benafischer94 opened this issue Apr 15, 2022 · 1 comment

Comments

@benafischer94
Copy link

Splitting a document with the newpage directive only renders the first page. The result is similar to how the Plant UML online server outputs a multipage image.

Default plantuml CLI behavior when rendering a multipage UML is the first page gets the name of the uml file with the appropriate extension, subsequent pages are numbered with a "_001.extension" pattern e.g. diagram.puml -> diagram.png, diagram_001.png, diagram_002.png

example multi-page PlantUML:

@startuml
Alice -> Bob : message 1
Alice -> Bob : message 2

newpage

Alice -> Bob : message 3
Alice -> Bob : message 4

newpage A title for the\nlast page

Alice -> Bob : message 5
Alice -> Bob : message 6
@enduml

Current workarounds look to be splitting into multiple UMLs in the text files, or including multiple UML files.

@antonbezkrovny
Copy link

Same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants