# D2 - Diagram Scripting Language 오픈소스로 전환

> Clean Markdown view of GeekNews topic #7876. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=7876](https://news.hada.io/topic?id=7876)
- GeekNews Markdown: [https://news.hada.io/topic/7876.md](https://news.hada.io/topic/7876.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2022-11-23T11:28:00+09:00
- Updated: 2022-11-23T11:28:00+09:00
- Original source: [github.com/terrastruct](https://github.com/terrastruct/d2)
- Points: 23
- Comments: 4

## Topic Body

- D2 = Declarative Diagramming   
- MermaidJS, Graphviz, PlantUML 등과 비슷하게 텍스트로 다이어그램을 그리는 언어  
- VSCode/Vim 확장을 제공하며, CLI를 통해서도 .d2 파일에서 SVG생성 가능   
- Go 오픈소스로 라이브러리 처럼 사용 가능  
- 오픈코어 모델(기본 내장한 외부 레이아웃 엔진인 dagre/ELK가 있고, 소프트웨어 아키텍처 그리기용으로 최적화된 TALA 엔진을 개발하여 별도 라이센스를 판매)

## Comments



### Comment 13425

- Author: galadbran
- Created: 2022-11-23T12:32:53+09:00
- Points: 1

시퀀스 다이어그램이 안되다니 ㅠㅠ

### Comment 13690

- Author: majorika
- Created: 2022-12-09T10:17:03+09:00
- Points: 3
- Parent comment: 13425
- Depth: 1

오늘 0.1.0 버전에서 실험 기능으로 지원하기 시작했네요.  
https://d2lang.com/tour/sequence-diagrams  
https://github.com/terrastruct/d2/releases/tag/v0.1.0

### Comment 13424

- Author: xguru
- Created: 2022-11-23T11:28:44+09:00
- Points: 2

본인들이 MermaidJS, Graphviz, PlantUML 과 비교해보는 사이트 를 별도로 만들어놨네요  
[Text-To-Diagram https://text-to-diagram.com/](https://text-to-diagram.com/)

### Comment 13430

- Author: nezz1204
- Created: 2022-11-23T15:44:07+09:00
- Points: 1
- Parent comment: 13424
- Depth: 1

이걸 보니 한번 써봐야겠다는 생각이 드네요. 근데 윗분 말씀처럼 시퀀스 다이어그램이 안되는게 가장 큰 단점이네요. 곧 지원하겠죠.
