PlantUML activity grammar

0 votes
asked Apr 15 in Question / help by anonymous
I need to build ANTLR PlantUML activity diagram lexer and parser for my university project, is there any documentation with PlantUML grammar rules that I can refer to, or only this page https://plantuml.com/activity-diagram-beta?

2 Answers

0 votes
answered Apr 15 by The-Lu (89,580 points)

Hello A.,

All the Internal Regex in order to parse the activity grammar are here:

Enjoy,

Thank you to share your work if you wish.

Regards,
Th.

0 votes
answered 5 hours ago by Hernand (180 points)

PlantUML’s TikZ/LaTeX export currently focuses on generating diagram structures rather than passing arbitrary raw LaTeX commands directly into the output. If you need advanced formatting, it may be worth reviewing the official PlantUML documentation to see which export customizations are supported and whether there are any workarounds using notes, sprites, or post-processing. For broader LaTeX integration ideas, the TikZ & PGF documentation is also a useful reference, especially when modifying generated TikZ code after export.

...