스크립트 기반으로 설계를 할 수 있는 PlantUML을 이용해보려고 한다. chatgpt가 스크립트 언어를 생성하게 하면, 설계에서 부터 AI의 힘을 얻을 수 있을 것 같아서..ㅋㅋㅋㅋㅋ
일단 설치부터 해본다.
1. JAVA 설치
나같은 경우는 JAVA가 이미 설치 되어있었다. 없다면 OpenJDK를 설치하자
OpenJDK
Learn about the key active Projects in the Community including Amber (high-productivity language features), Loom (lightweight concurrency), Panama (foreign functions and foreign data), Valhalla (primitive types and specialized generics), and, of course, th
openjdk.org
2. Graphviz 설치
다이어그램 렌더링용 툴이라고 한다.
따로 설치한 적이 없어서
Graphviz
Please join the Graphviz forum to ask questions and discuss Graphviz. What is Graphviz? Graphviz is open source graph visualization software. Graph visualization is a way of representing structural information as diagrams of abstract graphs and networks. I
graphviz.org
위 사이트에서 받아서 설치해본다.
미리 빌드된 exe 패키지로 설치ㅎ
3. PlantUML 설치
https://plantuml.com/ko/download
https://plantuml.com/ko/download
PlantUML Downloads and Source Code PlantUML Licensing Options PlantUML is dedicated to offering flexibility in its licensing to cater to the diverse needs of its users. As a result, the software is available under several licenses, allowing users to select
plantuml.com
여기서 다운받자. 나는 MIT 라이선스의 jar 파일을 받았다.
4. VS code 확장 프로그램 설치
VS Code Marketplace에서 PlantUML (jebbs) 확장 프로그램 설치.
여기서 첫번째껄 골라서 설치하면 된다.
5. VS Code 설정 파일 수정
VS Code와 PlantUML을 이어줘야 하는데, 이 내용이 settings.json 파일에 기록된다고 한다.
톱니 바퀴버튼을 누르면 이런 화면이 나오는데, 여기서 Settings를 눌러주고 뭔가를 설정해야 한다고 하는데, 나는 별다른 조치를 취하지 않았는데도 잘 작동이 되어서 일단 스킵..
6. VS CODE 상에서의 테스트
위와 같이 테스트 코드를 넣어주고, test.puml 이라고 작성해준다.
그 위 alt + D 를 누르면
이렇게 UML이 작성된다.
이상으로 PlantUML 설치 및 사용해보기 with VSCODE 포스팅을 마친다.
'유니티 개발 관련' 카테고리의 다른 글
HTC VR headset 제품군 조사 (1) | 2024.01.25 |
---|---|
유니티에서 웹캠 영상 재생하기 (0) | 2023.08.10 |
유니티에서 비디오 재생기 만들기 (0) | 2023.08.04 |
unity animation clip generation for the humaniod rig (0) | 2023.06.21 |
Export FBX in Unity (1) | 2023.05.26 |