options should be permissive

0 votes
asked Oct 24, 2013 in Wanted features by valexiev (1,200 points)
Turns out the reason is that I had an include (config) file starting with "hide empty attributes". This option is used in a class diagram, so later when PlantUML sees Component diagram syntax, it gives an error.
I think the options should be permissive: allow all options from all kinds of diagrams to be used, but no option should commit to a specific kinid of diagram. This way people can use one "config" file for all of PlantUML, instead of needing one file per diagram type.

1 Answer

0 votes
answered Oct 25, 2013 by plantuml (295,000 points)
selected Oct 25, 2013 by valexiev
Best answer
Automatically mananing all option for all digrams is not that easy.
But we have solved the issue for "show" command in the following beta:
commented Oct 25, 2013 by valexiev (1,200 points)
Tested with "hide empty members" followed by a Sequence diagram: works fine. Thanks!!