Requesting 'newpage' as a top level command to allow multiple image generation from single file.

0 votes
asked Apr 17, 2013 in Wanted features by vishalxica (160 points)
It would be nice to cover use case UML diagrams in a single source file, but to allow generation of multiple images from it to include in other requisite documentation.

3 Answers

0 votes
answered Apr 17, 2013 by plantuml (295,000 points)
Hello,

I am not sure to understand what you have in mind.
When your talk about "multiple image from it", do you mean one image per usecase?
Could you be more specific, or give an small example ?

Regards,
0 votes
answered Apr 17, 2013 by vishalxica (160 points)
The ability to do something like:

 

@startuml
left to right direction
skinparam packageStyle rect

:Web Customer: as User

rectangle "Merchant Website" << website >> {
  User -- (View Items)
  User -- (Make Purchase)
  (Make Purchase) .> (View Items) : <<include>>
  (Make Purchase) .> (Checkout) : <<include>>
}

newpage

  (Checkout) -- (Foobar)
 
@enduml
commented Apr 17, 2013 by vishalxica (160 points)
Similar to newpage for sequence diagrams
commented Apr 17, 2013 by plantuml (295,000 points)
Ok, I think I got the point.
The result will be the same as:
@startuml
left to right direction
skinparam packageStyle rect

:Web Customer: as User

rectangle "Merchant Website" << website >> {
  User -- (View Items)
  User -- (Make Purchase)
  (Make Purchase) .> (View Items) : <<include>>
  (Make Purchase) .> (Checkout) : <<include>>
}
@enduml
@startuml

  (Checkout) -- (Foobar)
 
@enduml

We need some time to implement this, but this is a good idea.
Regards,
0 votes
answered Apr 29, 2013 by plantuml (295,000 points)
You can now use the newpage keyword in usecase and component diagrams:

http://plantuml.sourceforge.net/usecase.html#Newpage

Regards,

Arnaud
commented May 10, 2013 by vishalxica (160 points)
Thanks a lot. Appreciate your hard work and dedication.
...