is it possible to define custom keywords

0 votes
asked Oct 25, 2013 in To be sorted by celdem (160 points)
Good afternoon;

I was wondering is it possible to define custom keywords and shapes in PlantUML.

For instance, I have a programming language called x. In x language instead of  "class"  the word "Cls" is used. My purpose is visualize the source code using  PlantUML but I want to visualise as a class in PlantUML. Is it possible for me to make this kind of changes or can I assign another shape to word "cls" and display it ?

Best Regards,

1 Answer

0 votes
answered Jan 16, 2014 by rmric (2,140 points)

I'm not sure about your question, whether a confusion is made between doxygen and PlantUML.

If you're looking for a new keyword in your PlantUML code, have you considered the use of the preprocessing ?

For example:

!define Cls class

Best Regards

...