Plant UML은 사용자가 Plain Text 언어로부터 UML 다이어그램을 작성할 수 있는 오픈 소스 기반의 도구입니다. 텍스트 기반이기 때문에 생각보다 쉽게 작성할 수 있고 기 작성된 다이어그램을 별도의 툴 없이 웹이나 에디터에 플러그인(혹은 확장팩)를 설치하여 언제든지 유지보수가 가능하다는 장점이 있습니다.
깃허브를 통해 오픈소스로 제공하고 있으며 최근까지 업데이트가 되고 있습니다. (https://github.com/plantuml/plantuml)
설치
Visual Studio Code 에서 플러그인(Extension)을 통해 설치할 수 있습니다.
Visual Studio Code에서 파일을 생성한 후 <Alt>+D 로 UML을 바로 생성할 수 있습니다.
Preview가 표출되지 않는다면 JRE(Java Runtime Environment)를 설치해 보세요.
# UBUNTU
$ sudo apt install default-jre
# PlantUML on VSCode with WSL remote
$ sudo apt install plantuml
Plant UML은 다양한 다이어그램을 제공합니다.
- 시퀀스 다이어그램 (Sequence Diagram)
- 유스케이스 다이어그램 (Usecase Diagram)
- 클래스 다이어그램 (Class Diagram)
- 객체 다이어그램 (Object Diagram)
- 액티비티 다이어그램 (Activity Diagram)
- 컴포넌트 다이어그램 (Component Diagram)
- 배치 다이어그램 (Deployment Diagram)
- 상태 다이어그램 (State Diagram)
- 타이밍 다이어그램 (Timing Diagram)
UML뿐만 아니라 다양한 다이어그램도 지원합니다.
- JSON data
- 네트워크 다이어그램 (Network Diagram, nwdiag)
- Wireframe Graphical Interface
- Archimate Diagram
- Specification and Description Language (SDL)
- Ditaa Diagram
- 간트 차트 (Gantt Diagram)
- 마인드맵 (MindMap Diagram)
- Work Breakdown Structure Diagram
- Mathematic with AsciiMath or JLaTeXMath notation
- ER 다이어그램 (Entity Relationship Diagram)
Plant UML 공식 문서
아래 사이트에서 한글을 지원하고 있기 때문에 툴 사용법은 쉽게 익히실 수 있습니다. 어렵지 않아요.
Plant UML 간단 요약 - https://plantuml.com/ko
참고사이트
'Development > Editor' 카테고리의 다른 글
VSCode(Visual Studio Code) 쓸만한 Extensions (0) | 2023.02.27 |
---|---|
VSCode - User Snippets 사용하기 (반복 구문 단축키 설정) (0) | 2023.02.04 |
Visual Studio Code 커멘트(주석) 색상 변경하기 (0) | 2022.06.20 |
Ubuntu(리눅스) VSCode(Visual Studio Code)에서 이모지 출력하기 (0) | 2022.06.04 |
리눅스 Visual Studio Code 설치하기 (0) | 2022.05.31 |