Change font size in Activity diagrams

0 votes
asked Jan 13, 2014 in Wanted features by anonymous

I'm trying to change the font size in activity diagrams.

I've found that  skinparam activity2FontSize 18 works for the activities. How do I change the font size in the conditional boxes and the labels for the corresponding if-else arrows?


1 Answer

0 votes
answered Jan 13, 2014 by plantuml (149,480 points)
edited Jan 13, 2014 by plantuml
Best answer

With the following beta
We have slightly changed parameter names:

skinparam activityFontSize 4
skinparam activityDiamondFontSize 30
skinparam activityArrowFontSize 24

if (some) then (yes)
:first action;
:second action;
repeatwhile (data to treat)
else (no)
while (foo)
:into while;
:end of process;

Feedback & idea appreciate

commented Jan 14, 2014 by anonymous
Perfect -- thanks. I noted that noteFontSize and defaultFontSize don't seem to work in the Activity diagram. Is this a known issue or should I raise a bug?
commented Jan 14, 2014 by plantuml (149,480 points)
This has been fixed in the following beta

skinparam defaultFontSize 19
skinparam noteFontSize 5
if (condition?) then (yes)
else (no)
  note right
    any very very long text
  end note

Thanks for your tests.
Please go on!
commented Jan 15, 2014 by anonymous
Works great.

Thanks for all your efforts. Appreciated.