How to use newpage in wbs diagram?

0 votes
asked Nov 6, 2021 in Question / help by dragondive (500 points)

I want to use the preprocessor to generate multiple WBS diagrams from json data. The newpage keyword doesn't work. Is it possible to do this with another approach?

@startwbs
!procedure $make_wbs($parameter)
' read json data here and make a wbs diagram based on parameter
!endprocedure

$make_wbs($parameter="X")
newpage
$make_wbs($parameter="Y")
@endwbs

Both diagrams are based on the same json data but use different "parts" of it. The "parameter" is used to select the relevant "part". 

commented Nov 6, 2021 by Martin (8,360 points)

Not ideal, but a possible work-around is to use a deployment diagram instead (where newpage does work), and include the wbs diagrams inside labels.
(click for source)

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...