Line separator for generic types

0 votes
asked Aug 16, 2014 in Wanted features by rorschach (120 points)

Is there a possiblity to add a line separator in the template parameter list of a generic type?

Assuming the following example I want to be able to add a line separator between the parameter types, e.g. "\n".

@startuml
class MyClass<S extends SomeClass, A extends AnotherClass, Y YetAnotherClass>
{
}
@enduml

 

1 Answer

0 votes
answered Apr 13 by Xavier Sautejeau

Use "\n", as in

@startuml
class MyClass<S extends SomeClass,\nA extends AnotherClass,\nY YetAnotherClass>{
}
@enduml

Note that the starting '{' has to be on the first line
...