Diagram as code
Diagram as Code
https://diagrams.mingrammer.com/
다이어그램을 사용하면 Python 코드로 클라우드 시스템 아키텍처를 그릴 수 있습니다.
코드형 다이어그램을 사용하면 모든 버전 관리 시스템에서 아키텍처 다이어그램 변경 사항을 추적할 수 있습니다.
Example)
GoDiagram
https://godiagram.com/winforms/latest/index.html
대화형 다이어그램을 빠르게 구축할 수 있는 .NET 라이브러리
Mermaid
https://mermaid.js.org/syntax/examples.html
마크다운에서 영감을 받아 텍스트 정의를 렌더링하여 다이어그램을 동적으로 생성하고 수정할 수 있는 JavaScript 기반 다이어그램 및 차트 도구
다른 tool에 plugin 형태로 많이 사용되고 있어 문서간 접합이 용이하다. plantUML과
Flowchart, Sequence Diagram, Class Diagram, State Diagram 등등 다양한 digram을 코드로 그릴 수 있다.
특히 Gitgraph Diagrams을 이용하면 git flow도 코드로 그릴 수 있다.
차트도 그릴 수 있다.
PlantUML
Mermaid과 마찬가지로 다양한 diagram을 code로 작성할 수 있다
ASCII diagram editors
https://monodraw.helftone.com/
다이어그램을 ASCII문자로 그려주는 툴
CLI 프로그램 대문을 멋지게 만들 수 있다.
MarkMap
Mind map을 code로 작성. vscode plugin도 존재한다
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
markmap:
colorFreezeLevel: 2
---
# markmap
## Links
- [Website](https://markmap.js.org/)
- [GitHub](https://github.com/gera2ld/markmap)
## Related Projects
- [coc-markmap](https://github.com/gera2ld/coc-markmap) for Neovim
- [markmap-vscode](https://marketplace.visualstudio.com/items?itemName=gera2ld.markmap-vscode) for VSCode
- [eaf-markmap](https://github.com/emacs-eaf/eaf-markmap) for Emacs
## Features
Note that if blocks and lists appear at the same level, the lists will be ignored.
### Lists
- **strong** ~~del~~ *italic* ==highlight==
- `inline code`
- [x] checkbox
- Katex: $x = {-b \pm \sqrt{b^2-4ac} \over 2a}$ <!-- markmap: fold -->
- [More Katex Examples](#?d=gist:af76a4c245b302206b16aec503dbe07b:katex.md)
- Now we can wrap very very very very long text based on `maxWidth` option
### Blocks
js console(‘hello, JavaScript’)
1
2
3
4
5
6
7
| Products | Price |
|-|-|
| Apple | 4 |
| Banana | 2 |

This post is licensed under CC BY 4.0 by the author.