Please provide a skinparam to center the text of the nodes in activity diagram

+1 vote
asked Jun 22, 2016 in Closed feature request by legz (520 points)

Please provide a skinparam to center the text of the nodes in activity diagram.

The goal is to obtain something like this :

Instead of this :

1 Answer

+2 votes
answered Jun 22, 2016 by plantuml (179,660 points)
selected Jun 22, 2016 by legz
 
Best answer

With last beta: https://dl.dropboxusercontent.com/u/13064071/plantuml.jar

You can now have:

@startuml
skinparam defaultTextAlignment center
start
:foo
very very very very long text;
end
@enduml

This has not been highly tested, so feedback is welcome.

commented Jun 22, 2016 by legz (520 points)
It seems to work like a charm on my diagrams, thanks!
commented Jul 4, 2016 by plantuml (179,660 points)
Note that this has been released in V8045
...