예시1 : 표준 웹 서비스 아키텍처 (Flowchart)
[graphviz engine=dot]
digraph CloudArchitecture {
rankdir=LR; /* 방향: 왼쪽 -> 오른쪽 */
node [shape=box, style=filled, color=lightblue]; /* 노드 스타일 설정 */
/* 노드 정의 */
User [shape=circle, color=gold, label="사용자"];
LB [label="Load Balancer"];
Web1 [label="Web Server A"];
Web2 [label="Web Server B"];
DB [shape=cylinder, color=lightgrey, label="Database"];
예시2 : MSA(마이크로서비스) 서비스 연결망
[graphviz engine=neato]
graph Microservices {
node [shape=ellipse, style=filled, color="#e0e0e0"];
edge [len=2]; /* 노드 간 기본 거리 */
/* 핵심 서비스 */
"Auth Service" [color="#ffcccc"];
"Order Service" [color="#ccffcc"];
"Payment Service" [color="#ccffcc"];
/* 관계 연결 */
"API Gateway" -- "Auth Service";
"API Gateway" -- "Order Service";
"API Gateway" -- "Product Catalog";
"Order Service" -- "Payment Service";
"Order Service" -- "Inventory";
"Payment Service" -- "Banking API";
"Monitoring Agent" -- "Order Service";
"Monitoring Agent" -- "Auth Service";
}
[/graphviz]
예시3 : 비즈니스 개념도 (마인드맵)
[graphviz engine=circo]
graph CloudBroBiz {
node [fontname="Arial", shape=box, style=rounded];
/* 중심 노드 */
"CloudBro" [shape=doublecircle, style=filled, color=orange, fontsize=20];
/* 주요 가치 연결 */
"CloudBro" -- "Ask (질문)";
"CloudBro" -- "Connect (연결)";
"CloudBro" -- "Visualize (시각화)";
/* 확장 개념 */
"Ask (질문)" -- "AI Agent";
"Connect (연결)" -- "전문가 네트워킹";
"Connect (연결)" -- "오픈소스 생태계";
"Visualize (시각화)" -- "지식 그래프(KG)";
"Visualize (시각화)" -- "온톨로지";
}
[/graphviz]
1 Like