1

In PlantUML, is it possible to show - on one diagram - many differently parametrized, one generic class?
Like here:

@startuml
class List<String>
class List<Long>
class List<Integer>
@enduml

In my case it shows only class List<Integer>
Thanks!

Grzegorz Dev
  • 3,073
  • 1
  • 18
  • 22

1 Answers1

1

Using as fixes this:

@startuml
class "List<String>" as ListString
class "List<Long>" as ListLong
class "List<Integer>" as ListInteger
@enduml

enter image description here

Fuhrmanator
  • 11,459
  • 6
  • 62
  • 111