def class_shape(self):
    return Box(Box(Text(text=(lambda : UML.model.stereotypes_str(self.subject, ('interface',))), style={'min-width': 0, 'min-height': 0}), EditableText(text=(lambda : (self.subject.name or '')), style={'font-weight': FontWeight.BOLD}), Text(text=(lambda : from_package_str(self)), style={'font': 'sans 8', 'min-width': 0, 'min-height': 0}), style={'padding': (12, 4, 12, 4)}), *((self.show_attributes and self.subject and [attributes_compartment(self.subject)]) or []), *((self.show_operations and self.subject and [operations_compartment(self.subject)]) or []), *((self.show_stereotypes and stereotype_compartments(self.subject)) or []), style={'min-width': 100, 'min-height': 50, 'vertical-align': VerticalAlign.TOP}, draw=draw_border)
def class_shape(self):
    return Box(Box(Text(text=(lambda : UML.model.stereotypes_str(self.subject, ('interface',))), style={'min-width': 0, 'min-height': 0}), EditableText(text=(lambda : (self.subject.name or )), style={'font-weight': FontWeight.BOLD}), Text(text=(lambda : from_package_str(self)), style={'font': 'sans 8', 'min-width': 0, 'min-height': 0}), style={'padding': (12, 4, 12, 4)}), *((self.show_attributes and self.subject and [attributes_compartment(self.subject)]) or []), *((self.show_operations and self.subject and [operations_compartment(self.subject)]) or []), *((self.show_stereotypes and stereotype_compartments(self.subject)) or []), style={'min-width': 100, 'min-height': 50, 'vertical-align': VerticalAlign.TOP}, draw=draw_border)