Reputation: 637
I have a class like this:
abstract class Task
{
String name();
LocalDate start();
LocalDate end();
}
It is rendered something like this:
For better readability (imagine more methods and fields): Is there a way to align the method names in columns like in the code snippet above?
Upvotes: 0
Views: 19
Reputation: 637
I found a solution/workaroud myself - simply use tabs instead of spaces:
@startuml
class Task
{
String \t\t name()
LocalDate \t start()
LocalDate \t end()
}
@enduml
Now it is rendered like this:
Upvotes: 0