Allow duplicates for WBS

0 votes
asked May 17 in Question / help by carlheinmostert (200 points)

Good day, I am writing an PUML autogeneration system.

In my scenario, I am iterating through records in a dataset. Each record represents an object.  The record also has a column called category.

The visualize this manually WBS must look like...

@startwbs

* Root

** CategoryA
*** ObjectA
*** ObjectB

@endwbs

To generate this from a simple dataset iteration is tricky though.  Is there any way for the WBS to identify and resolve duplicates itself.

Then I could simply generate the below, more vebose, version.

@startwbs

* Root
'row 1
** CategoryA
*** ObjectA
'row 2
** CategoryA
*** ObjectB

@endwbs

The second snippet is of course valid, but Category A is duplicated because the diagram seemingly cannot understand it is the same as before.

Is there any feature which will allow duplicates to be resolved.  This will greatly simplify autogen scripts.

FYI:  This is e.g. possible with component diagrams.

Many thanks

Carl

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.
...