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 (295,000 points)
edited Jan 13, 2014 by plantuml
 
Best answer

With the following beta https://dl.dropboxusercontent.com/u/13064071/plantuml.jar
We have slightly changed parameter names:

@startuml
skinparam activityFontSize 4
skinparam activityDiamondFontSize 30
skinparam activityArrowFontSize 24

:start;
if (some) then (yes)
repeat
:first action;
:second action;
repeatwhile (data to treat)
else (no)
:me;
endif
while (foo)
:into while;
endwhile
:end of process;
@enduml


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 (295,000 points)
This has been fixed in the following beta
https://dl.dropboxusercontent.com/u/13064071/plantuml.jar

@startuml
skinparam defaultFontSize 19
skinparam noteFontSize 5
if (condition?) then (yes)
  :yes;
else (no)
  :no;
  note right
    any very very long text
  end note
endif
stop
@enduml

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

Thanks for all your efforts. Appreciated.
...