Open ekweirui opened 2 years ago
Been trying to do that myself to no avail. It looks like the PlantUML spec for object diagrams doesn't have that ability. hide members
will hide any attributes but still leave a bounding box for the attributes field.
Tagging a few other students (randomly selected) who have completed related increments, in case they can help: @XenonShawn @nseah21 @darrtzj @shwene @PeiYee88 @ssyap98 @Shawn532 @DarrenCsAcc @JustinS00 @chngchngchng @ketamethane @dr-arrgghh @emptygx @leirdas @kavantan Others are welcome to pitch in too.
@ekweirui did you try hide empty members
?
@damithc Hi prof, I have tried hide empty members
but to no avail as well.
It's either the case of me doing something wrong or that the bug was not fixed properly.
I also tried hide empty methods
and hide empty attributes
which were specified in the website but to no avail.
I also tried
hide empty methods
andhide empty attributes
which were specified in the website but to no avail.
I see. It works for me but I'm using an older version of PlantUml. Possibly the feature broke in later versions.
Currently, I am having difficulty with hiding the attributes box in a PlantUML object diagram.
I have tried several methods such as
hide private members
hide private fields
but to no avail.Could I ask if this is a PlantUML limitation, if not, could I have a tip going forward?