I try to create a diagram which contains the class hierarchy as well as use cases which use the classes. I tried to use PlantUML today, but somehow one cannot mix these two diagram types. This is the simplest file I could come up with:
@startuml
class Foo
usecase Bar
@enduml
When I only have one of these lines in there, it works fine. But with both lines I get this:
❯ plantuml text.txt
Error line 5 in file: text.txt
Some diagram description contains errors
Is there some way to put both into the diagram, or is that just impossible?