StarUML in the class diagram add interface, the default is to display a circle (that is, we often say lollipop), how to let the interface display <> it.
The default interface diagram is as follows
UML Class Diagram Interface lollipop notation
In UML class diagrams, there are 2 ways to represent interfaces
1, divided into two layers, the first interface name, the top of the <> logo, the second layer is the interface method, which is commonly known as the two-layer rectangular box representation;
2, the same as the class diagram, the difference is that the second layer is empty, there is a lollipop logo on the rectangular box, commonly known as lollipop notation;
Below we explain in detail how to turn the interface into a two-layer rectangular box representation
1. Select the interface diagram you want to modify, right-click "Format" → "stereotype Display" → "Textual"
The URL class diagram sets stereotype display to textual
2, after the above settings, you can find that the interface representation has been changed from lollipop notation to two-layer rectangular box, but there is also a problem, the method name and attributes are not displayed, let the interface display method name and properties, follow these steps to set: "Format" removed "suppress Attributes "and" suppress Operations ".
URL class diagram settings display properties and methods
3, the final, into the set, the interface is shown in the following figure, the successful interface from the bar sugar representation into a two-layer rectangular box representation
UML Class Diagram interface two-layer rectangular box representation method