UML representation of interfaces
Issue #33
new
The interface
s should be represented with interface Xyz
instead of class Xyz
, so that the proper icon will be displayed: I almost fainted when I saw a class "inheriting" from three other classes (in Java!) while they actually were interfaces.
Actually, same for enum
s.
Comments (2)
-
reporter -
repo owner You're right. I your example, when
Clazz
implementsRunnable
,Runnable
is not "known" in the plantuml file. By default, it decide to display it as being a class. I would have to “forward declare it“ as an interface.interface Runnable Clazz ..|> Runnable
- Log in to comment
It seems the interfaces are properly represented, but only if they are in the same package. Create, for example, an interface
Interface
and classClazz
that implementsRunnable
and suchInterface
interface. WhileInterface
is correctly shown as interface,Runnable
is not.