Hi,
Is it possible for a preprocessing macro to take more than one argument?
@startuml
!define module(x,y) component "Module: x" as y <<module>>
module(the first letters,ABC)
module(the last letters,XYZ)
@enduml
Another wish: leveraging the !include for style sheet definition through sinkparams/marcros, I would like to share the same .iuml file for various diagrams (sequence, component, ..). Since some forms differs, I would need to do some !ifdef'ing. Could PlantUML automatically !define the type of diagram (__SEQUENCE_DIAGRAM__, __COMPONENT_DIAGRAM__, ..) while preprocessing ? Rem: the define cannot be done on the command line, because it has to work also for different diagrams in doxygen source file.
Many thanks for the great features in PlantUML