도시철도 노선도
교통·노선 운행 · 노선도 — 역은 점, 선로는 연결선
작은 도시철도의 노선도 — 두 노선이 한 환승역에서 만나고, 역마다 점 하나가 정상 · 혼잡 · 운행 중지로, 이웃한 두 역 사이의 선로마다 선 하나가 정상 · 서행 · 중지로 그려진다. 노선 이름은 끝에 쓰이고 색이 뜻하는 바는 범례가 말한다. 퇴근 시간의 한 장. 예시 데이터.
U-Board로 그린 보드입니다. 표시된 값은 이 보드를 위해 지어낸 예시 데이터로, 실제 시설의 값이 아닙니다.
보드 정의 (JSON)
이 보드를 그리는 정의 전부입니다 — 각 값을 어디서 읽는지(data), 무엇을 보이는지(parts), 어디에 놓는지와 배경(layout). U-Board의 편집기와 AI 비서가 쓰는 것과 같은 형식입니다. 배경 그림은 길어서 화면에서는 줄여 보이고, 내려받은 파일에는 그대로 있습니다.
내려받기 — board.json{
"board": {
"title": "도시철도 노선도",
"theme": "light",
"accent": "#2c5fc9",
"skin": {
"palette": {
"paper": "#fffdf8",
"ink": "#26231e",
"muted": "#80796b",
"rule": "#ece4d2"
},
"font": "\"Pretendard Variable\", Inter, \"Malgun Gothic\", system-ui, sans-serif",
"frame": "card",
"radius": 20,
"shadow": "soft"
}
},
"statuses": {
"ok": {
"tone": "info",
"label": "정상"
},
"crowded": {
"tone": "warn",
"label": "혼잡"
},
"slow": {
"tone": "warn",
"label": "서행",
"emphasis": "hatch"
},
"closed": {
"tone": "alarm",
"label": "운행 중지",
"emphasis": "hatch"
}
},
"data": {
"now": {
"from": "metro",
"path": "/metro/now",
"time": "updatedAt",
"fields": {
"network": {},
"time": {}
}
},
"stations": {
"from": "metro",
"path": "/metro/stations",
"list": "/value",
"key": "id",
"time": "updatedAt",
"fields": {
"state": {
"state": "raw"
},
"name": {},
"note": {},
"x": {},
"y": {},
"id": {},
"dir": {}
}
},
"segments": {
"from": "metro",
"path": "/metro/segments",
"list": "/value",
"key": "id",
"time": "updatedAt",
"fields": {
"state": {
"state": "raw"
},
"words": {}
}
},
"stationsH": {
"from": "metro",
"path": "/metro/stations",
"list": "/value",
"key": "id",
"time": "updatedAt",
"fields": {
"state": {
"state": "raw"
},
"name": {},
"note": {},
"x": {},
"y": {},
"id": {},
"dir": {}
},
"where": {
"dir": "h"
}
},
"stationsV": {
"from": "metro",
"path": "/metro/stations",
"list": "/value",
"key": "id",
"time": "updatedAt",
"fields": {
"state": {
"state": "raw"
},
"name": {},
"note": {},
"x": {},
"y": {},
"id": {},
"dir": {}
},
"where": {
"dir": "v"
}
}
},
"parts": {
"title": {
"as": "element",
"element": "head",
"of": "now",
"bind": {
"network": "network",
"time": "time"
}
},
"pill1": {
"as": "element",
"element": "pill",
"props": {
"n": 1,
"text": "1호선"
}
},
"pill2": {
"as": "element",
"element": "pill",
"props": {
"n": 2,
"text": "2호선"
}
},
"station": {
"as": "element",
"element": "stn",
"each": "stations",
"bind": {
"id": "id",
"state": "state"
}
},
"nameH": {
"as": "element",
"element": "lh",
"each": "stationsH",
"bind": {
"id": "id",
"state": "state",
"name": "name",
"note": "note"
}
},
"nameV": {
"as": "element",
"element": "lv",
"each": "stationsV",
"bind": {
"id": "id",
"state": "state",
"name": "name",
"note": "note"
}
},
"cardIssues": {
"as": "element",
"element": "card",
"props": {
"title": "눈여겨볼 곳"
}
},
"cardNext": {
"as": "element",
"element": "card",
"props": {
"title": "다음 열차"
}
},
"issues": {
"as": "element",
"element": "isu",
"each": "segments",
"bind": {
"state": "state",
"words": "words"
}
},
"next": {
"as": "element",
"element": "nxt",
"each": "stations",
"bind": {
"id": "id",
"name": "name",
"note": "note"
}
},
"key": {
"as": "element",
"element": "lg"
}
},
"layout": {
"kind": "canvas",
"size": [
1600,
1000
],
"place": {
"title": [
28,
24,
520,
128
],
"pill1": [
38,
458,
64,
26
],
"pill2": [
770,
140,
64,
26
],
"station": {
"at": [
"x",
"y"
],
"frame": [
-8.181818181818173,
-57.07070707070707,
1446.3636363636363,
953.030303030303
],
"size": [
40,
40
]
},
"nameH": {
"at": [
"x",
"y"
],
"frame": [
-8.181818181818173,
-77.27272727272728,
1446.3636363636363,
932.8282828282828
],
"size": [
150,
48
],
"anchor": "top"
},
"nameV": {
"at": [
"x",
"y"
],
"frame": [
-26.363636363636353,
-57.07070707070707,
1428.181818181818,
953.030303030303
],
"size": [
130,
64
],
"anchor": "left"
},
"cardIssues": [
28,
792,
540,
184
],
"cardNext": [
584,
792,
616,
184
],
"key": [
1220,
792,
352,
184
],
"issues": {
"flow": {
"at": [
46,
832
],
"cell": [
250,
26
],
"columns": 2,
"gap": [
8,
2
]
}
},
"next": {
"flow": {
"at": [
602,
832
],
"cell": [
186,
26
],
"columns": 3,
"gap": [
10,
2
]
}
}
},
"links": {
"r1-r2": {
"from": "station/r1",
"to": "station/r2",
"tone": "info",
"width": 12
},
"r1-r2-s": {
"from": "station/r1",
"to": "station/r2",
"of": "segments[r1-r2]",
"show": "state",
"width": 12,
"weight": {
"field": "state",
"map": {
"ok": 0.1,
"*": 12
}
}
},
"r2-r3": {
"from": "station/r2",
"to": "station/r3",
"tone": "info",
"width": 12
},
"r2-r3-s": {
"from": "station/r2",
"to": "station/r3",
"of": "segments[r2-r3]",
"show": "state",
"width": 12,
"weight": {
"field": "state",
"map": {
"ok": 0.1,
"*": 12
}
}
},
"r3-hub": {
"from": "station/r3",
"to": "station/hub",
"tone": "info",
"width": 12
},
"r3-hub-s": {
"from": "station/r3",
"to": "station/hub",
"of": "segments[r3-hub]",
"show": "state",
"width": 12,
"weight": {
"field": "state",
"map": {
"ok": 0.1,
"*": 12
}
}
},
"hub-r5": {
"from": "station/hub",
"to": "station/r5",
"tone": "info",
"width": 12
},
"hub-r5-s": {
"from": "station/hub",
"to": "station/r5",
"of": "segments[hub-r5]",
"show": "state",
"width": 12,
"weight": {
"field": "state",
"map": {
"ok": 0.1,
"*": 12
}
}
},
"r5-r6": {
"from": "station/r5",
"to": "station/r6",
"tone": "info",
"width": 12
},
"r5-r6-s": {
"from": "station/r5",
"to": "station/r6",
"of": "segments[r5-r6]",
"show": "state",
"width": 12,
"weight": {
"field": "state",
"map": {
"ok": 0.1,
"*": 12
}
}
},
"r6-r7": {
"from": "station/r6",
"to": "station/r7",
"tone": "info",
"width": 12
},
"r6-r7-s": {
"from": "station/r6",
"to": "station/r7",
"of": "segments[r6-r7]",
"show": "state",
"width": 12,
"weight": {
"field": "state",
"map": {
"ok": 0.1,
"*": 12
}
}
},
"b1-b2": {
"from": "station/b1",
"to": "station/b2",
"tone": "ok",
"width": 12
},
"b1-b2-s": {
"from": "station/b1",
"to": "station/b2",
"of": "segments[b1-b2]",
"show": "state",
"width": 12,
"weight": {
"field": "state",
"map": {
"ok": 0.1,
"*": 12
}
}
},
"b2-hub": {
"from": "station/b2",
"to": "station/hub",
"tone": "ok",
"width": 12
},
"b2-hub-s": {
"from": "station/b2",
"to": "station/hub",
"of": "segments[b2-hub]",
"show": "state",
"width": 12,
"weight": {
"field": "state",
"map": {
"ok": 0.1,
"*": 12
}
}
},
"hub-b4": {
"from": "station/hub",
"to": "station/b4",
"tone": "ok",
"width": 12
},
"hub-b4-s": {
"from": "station/hub",
"to": "station/b4",
"of": "segments[hub-b4]",
"show": "state",
"width": 12,
"weight": {
"field": "state",
"map": {
"ok": 0.1,
"*": 12
}
}
},
"b4-b5": {
"from": "station/b4",
"to": "station/b5",
"tone": "ok",
"width": 12
},
"b4-b5-s": {
"from": "station/b4",
"to": "station/b5",
"of": "segments[b4-b5]",
"show": "state",
"width": 12,
"weight": {
"field": "state",
"map": {
"ok": 0.1,
"*": 12
}
}
}
},
"background": "(배경 그림 3 KB — 내려받은 파일에 있음)"
},
"elements": {
"head": {
"template": "<div class=\"h\"><span class=\"k\">운행 현황</span><b>{{network}}</b><span class=\"s\">노선도 · {{time}}</span><div class=\"bg\"><i class=\"a\">1</i><i class=\"b\">2</i></div></div>",
"style": ".h{font-family:inherit;position:relative;height:100%;background:#fffdf8;border-radius:20px;box-shadow:0 1px 2px #26231e14,0 14px 30px -16px #26231e44;border:1px solid #ece4d2;box-sizing:border-box;color:#26231e}.k{position:absolute;left:28px;top:20px;font-size:12.5px;color:#80796b;letter-spacing:.08em}b{position:absolute;left:28px;top:42px;font-size:33px;font-weight:800;letter-spacing:-.02em}.s{position:absolute;left:28px;bottom:16px;font-size:14px;color:#80796b}.bg{position:absolute;right:28px;top:30px;display:flex;gap:8px}i{font-style:normal;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:800;font-size:15px}.a{background:#2c5fc9}.b{background:#1c9a5a}",
"props": {
"network": "string",
"time": "string"
}
},
"pill": {
"template": "<div class=\"p p{{n}}\">{{text}}</div>",
"style": ".p{font-family:inherit;height:100%;border-radius:999px;color:#fff;font-weight:800;font-size:13px;display:grid;place-items:center}.p1{background:#2c5fc9}.p2{background:#1c9a5a}",
"props": {
"n": "number",
"text": "string"
}
},
"stn": {
"template": "<div class=\"s l-{{id}} st-{{state}}\"><i class=\"g\"></i></div>",
"style": ".s{font-family:inherit;position:relative;height:100%;--c:#2c5fc9}.l-b1,.l-b2,.l-b4,.l-b5{--c:#1c9a5a}.g{position:absolute;left:50%;top:50%;width:28px;height:28px;margin:-14px 0 0 -14px;border-radius:50%;background:#fff;border:6px solid var(--c);box-sizing:border-box}.st-crowded .g{border-color:#e8a02a;box-shadow:0 0 0 5px #e8a02a24}.st-crowded .g::after{content:\"\";position:absolute;left:50%;top:50%;width:8px;height:8px;margin:-4px 0 0 -4px;border-radius:50%;background:#e8a02a}.st-closed .g{background:#e9e4d8;border-color:#d44b3c}.st-closed .g::after{content:\"✕\";position:absolute;inset:0;display:grid;place-items:center;color:#d44b3c;font-size:14px;font-weight:900}.l-hub .g{width:38px;height:38px;margin:-19px 0 0 -19px;border:6px solid #26231e;background:conic-gradient(#2c5fc9 0 25%,#1c9a5a 25% 50%,#2c5fc9 50% 75%,#1c9a5a 75%)}.l-hub .g::after{content:\"\";position:absolute;left:50%;top:50%;width:12px;height:12px;margin:-6px 0 0 -6px;border-radius:50%;background:#26231e}",
"props": {
"id": "string",
"state": "string"
}
},
"lh": {
"template": "<div class=\"t l-{{id}} st-{{state}}\"><b>{{name}}</b><span>{{note}}</span></div>",
"style": ".t{font-family:inherit;height:100%;padding-top:4px;box-sizing:border-box;text-align:center;color:#26231e}.l-b1,.l-b2,.l-b4,.l-b5,.l-hub{display:none}b{display:block;font-size:15px;font-weight:700;line-height:1.2}span{display:block;font-size:11.5px;color:#80796b;margin-top:2px}.st-crowded span{color:#b8780f}.st-closed span{color:#d44b3c;font-weight:700}",
"props": {
"id": "string",
"state": "string",
"name": "string",
"note": "string"
}
},
"lv": {
"template": "<div class=\"t l-{{id}} st-{{state}}\"><div><b>{{name}}</b><span>{{note}}</span></div></div>",
"style": ".t{font-family:inherit;height:100%;padding-left:8px;box-sizing:border-box;display:flex;align-items:center;color:#26231e}.l-r1,.l-r2,.l-r3,.l-r5,.l-r6,.l-r7{display:none}.l-hub{align-items:flex-start}b{display:block;font-size:15px;font-weight:700;line-height:1.2}.l-hub b{font-size:17px}span{display:block;font-size:11.5px;color:#80796b;margin-top:2px}.st-crowded span{color:#b8780f}",
"props": {
"id": "string",
"state": "string",
"name": "string",
"note": "string"
}
},
"card": {
"template": "<div class=\"c\"><b>{{title}}</b></div>",
"style": ".c{font-family:inherit;height:100%;background:#fffdf8;border-radius:20px;box-shadow:0 1px 2px #26231e14,0 14px 30px -16px #26231e44;border:1px solid #ece4d2;box-sizing:border-box;padding:16px 22px;color:#80796b}b{font-size:12.5px;letter-spacing:.06em;font-weight:600}",
"props": {
"title": "string"
}
},
"isu": {
"template": "<div class=\"r r-{{state}}\"><i></i><span>{{words}}</span></div>",
"style": ".r{font-family:inherit;display:flex;align-items:center;gap:10px;height:100%;font-size:13.5px;color:#26231e}i{font-style:normal;font-size:11.5px;font-weight:700;padding:3px 10px;border-radius:999px;min-width:50px;text-align:center;box-sizing:border-box;background:#eee7d6;color:#80796b}.r-ok i::before{content:\"정상\"}.r-slow i::before{content:\"서행\"}.r-closed i::before{content:\"운행 중지\"}.r-ok{opacity:.5}.r-slow i{background:#fcefd2;color:#a8690f}.r-closed i{background:#fbe0dc;color:#b83a2c}",
"props": {
"state": "string",
"words": "string"
}
},
"nxt": {
"template": "<div class=\"n l-{{id}}\"><i></i><b>{{name}}</b><span>{{note}}</span></div>",
"style": ".n{font-family:inherit;display:flex;align-items:center;gap:8px;height:100%;font-size:13.5px;color:#26231e;--c:#2c5fc9}.l-b1,.l-b2,.l-b4,.l-b5{--c:#1c9a5a}.l-hub{--c:#26231e}i{width:9px;height:9px;border-radius:50%;background:var(--c);flex:none}b{font-weight:600}span{margin-left:auto;font-size:12px;color:#80796b;font-variant-numeric:tabular-nums}",
"props": {
"id": "string",
"name": "string",
"note": "string"
}
},
"lg": {
"template": "<div class=\"l\"><b>상태</b><div><u class=\"a\"></u>정상</div><div><u class=\"b\"></u>혼잡</div><div><u class=\"c\"></u>서행</div><div><u class=\"d\"></u>운행 중지</div></div>",
"style": ".l{font-family:inherit;height:100%;background:#fffdf8;border-radius:20px;box-shadow:0 1px 2px #26231e14,0 14px 30px -16px #26231e44;border:1px solid #ece4d2;box-sizing:border-box;padding:16px 22px;color:#26231e;font-size:13.5px}.l>b{display:block;font-size:12.5px;letter-spacing:.06em;font-weight:600;color:#80796b;margin-bottom:10px}.l>div{display:flex;align-items:center;gap:12px;height:30px}u{display:inline-block;flex:none;width:44px}.a{height:6px;border-radius:3px;background:#2c5fc9}.b{width:22px;height:22px;margin:0 11px;border-radius:50%;border:4px solid #e8a02a;box-sizing:border-box}.c{height:6px;background:repeating-linear-gradient(90deg,#e8a02a 0 8px,transparent 8px 14px)}.d{height:8px;background:repeating-linear-gradient(135deg,#bdb6a4 0 3px,#e9e4d8 3px 6px)}",
"props": {}
}
}
}데이터 (원천 응답 JSON)
보드가 읽는 원천과, 원천이 돌려준 응답입니다 — 보드가 읽는 필드만 남겼습니다. 이 페이지는 서버 없이 이 응답으로 보드를 그립니다.
내려받기 — data.json{
"connectors": [
{
"key": "metro",
"name": "예시 운행 정보",
"example": true,
"attribution": {
"text": "예시 데이터 — 실제 노선이 아닙니다"
}
}
],
"capturedAt": "2026-11-02T09:10:00Z",
"responses": {
"metro": {
"/metro/now": {
"network": "한결 도시철도",
"time": "저녁 퇴근 시간",
"updatedAt": "2026-11-02T09:10:00Z"
},
"/metro/stations": {
"value": [
{
"id": "r1",
"name": "북벌",
"x": 110,
"y": 420,
"state": "ok",
"note": "다음 열차 3분",
"updatedAt": "2026-11-02T09:10:00Z",
"dir": "h"
},
{
"id": "r2",
"name": "새솔",
"x": 300,
"y": 420,
"state": "ok",
"note": "다음 열차 4분",
"updatedAt": "2026-11-02T09:10:00Z",
"dir": "h"
},
{
"id": "r3",
"name": "달빛",
"x": 490,
"y": 420,
"state": "crowded",
"note": "승강장 혼잡",
"updatedAt": "2026-11-02T09:10:00Z",
"dir": "h"
},
{
"id": "hub",
"name": "한결중앙",
"x": 720,
"y": 420,
"state": "crowded",
"note": "두 노선 환승",
"updatedAt": "2026-11-02T09:10:00Z",
"dir": "v"
},
{
"id": "r5",
"name": "푸른",
"x": 950,
"y": 420,
"state": "ok",
"note": "다음 열차 5분",
"updatedAt": "2026-11-02T09:10:00Z",
"dir": "h"
},
{
"id": "r6",
"name": "하늬",
"x": 1140,
"y": 420,
"state": "ok",
"note": "다음 열차 6분",
"updatedAt": "2026-11-02T09:10:00Z",
"dir": "h"
},
{
"id": "r7",
"name": "바다",
"x": 1310,
"y": 420,
"state": "closed",
"note": "야간 공사",
"updatedAt": "2026-11-02T09:10:00Z",
"dir": "h"
},
{
"id": "b1",
"name": "높새",
"x": 720,
"y": 150,
"state": "ok",
"note": "다음 열차 4분",
"updatedAt": "2026-11-02T09:10:00Z",
"dir": "v"
},
{
"id": "b2",
"name": "솔내",
"x": 720,
"y": 285,
"state": "ok",
"note": "다음 열차 3분",
"updatedAt": "2026-11-02T09:10:00Z",
"dir": "v"
},
{
"id": "b4",
"name": "여울",
"x": 720,
"y": 555,
"state": "ok",
"note": "다음 열차 3분",
"updatedAt": "2026-11-02T09:10:00Z",
"dir": "v"
},
{
"id": "b5",
"name": "물빛",
"x": 720,
"y": 690,
"state": "ok",
"note": "다음 열차 5분",
"updatedAt": "2026-11-02T09:10:00Z",
"dir": "v"
}
],
"updatedAt": "2026-11-02T09:10:00Z"
},
"/metro/segments": {
"value": [
{
"id": "r1-r2",
"state": "ok",
"words": "정상",
"updatedAt": "2026-11-02T09:10:00Z"
},
{
"id": "r2-r3",
"state": "ok",
"words": "정상",
"updatedAt": "2026-11-02T09:10:00Z"
},
{
"id": "r3-hub",
"state": "slow",
"words": "서행 — 신호 점검",
"updatedAt": "2026-11-02T09:10:00Z"
},
{
"id": "hub-r5",
"state": "ok",
"words": "정상",
"updatedAt": "2026-11-02T09:10:00Z"
},
{
"id": "r5-r6",
"state": "ok",
"words": "정상",
"updatedAt": "2026-11-02T09:10:00Z"
},
{
"id": "r6-r7",
"state": "closed",
"words": "운행 중지",
"updatedAt": "2026-11-02T09:10:00Z"
},
{
"id": "b1-b2",
"state": "ok",
"words": "정상",
"updatedAt": "2026-11-02T09:10:00Z"
},
{
"id": "b2-hub",
"state": "ok",
"words": "정상",
"updatedAt": "2026-11-02T09:10:00Z"
},
{
"id": "hub-b4",
"state": "ok",
"words": "정상",
"updatedAt": "2026-11-02T09:10:00Z"
},
{
"id": "b4-b5",
"state": "ok",
"words": "정상",
"updatedAt": "2026-11-02T09:10:00Z"
}
],
"updatedAt": "2026-11-02T09:10:00Z"
}
}
}
}