본문 바로가기
개발

StarUML 클래스다이어그램에서 인터페이스 모양 바꾸는 방법

by 어컴띵 2020. 11. 26.

Staruml은 클래스 다이어그램에서 인터페이스를 추가하면 기본적으로 원모양으로 나온다.

보통 사각형을 쓰고 이름을 <<interface>> 처럼 표현하는데 기본 모양이 원이어서 보기가 어색해서 사각형으로 바꾸는 방법을 찾아서 공유하려고 한다.

 

이미 아는 분도 있을수 있지만 인터넷을 찾아도 잘 못찾아서 겨우 찾은 방법을 공유한다.

 

이게 기본 모양이다

메뉴> Format>Stereotype Display > Icon으로 선택되어 있는 것을 Label로 바꾸면 된다.

Icon 에서 Label로 바꿈

 

하지만 이렇게 매번 바꿀수는 없으니 기본적으로 Label 방식으로 표현하도록 기본설정을 다음과 같이 바꾼다.

메뉴> File > preference > UML > 선택후

Interface 항목에서 Stereotype Display 항목에서 기본값을 Label로 변경하면 된다.

 

참조: www.clear.rice.edu/comp201/07-spring/info/staruml/

 

Comp201 StarUML Tutorial

Bug warning:  As of version 5.0.2.1570 of StarUML, when a generalization line has been deleted from the diagram, it may not actually be deleted from the underlying model.  This may cause erroneous code generation.   To detect if there are excess relati

www.clear.rice.edu