Assembly line flow and WIP
Manufacturing & production · None — flow diagram
Each station’s state and cycle time against the takt, in the order bodies flow, and on the line between two stations how many bodies wait in that buffer — as its label and its width. Only a buffer that is full (blocking the station before it) or empty (starving the one after) takes colour, and the station holding the line back is marked as its bottleneck. Output against plan above, every buffer against its size below. Example data.
A board drawn with U-Board. Its values are example data written for it, not readings from a real site.
Board definition (JSON)
Everything that draws this board — where each value is read from (data), what is shown (parts), and where it sits and over what background (layout), in the same format U-Board’s editor and AI assistant write. The background drawing is long, so it is shortened here; the downloaded file has it whole.
Download — board.json{
"elements": {
"station": {
"template": "<div class=\"st {{state}}\" role=\"img\" aria-label=\"{{name}} {{stateText}}, 사이클 {{cycleTime}}초{{#bottleneck}}, 병목{{/bottleneck}}\">\n <b>{{name}}</b>{{#bottleneck}}<span class=\"tag\">병목</span>{{/bottleneck}}\n <span class=\"state\"><i></i>{{stateText}}</span>\n <span class=\"ct\">{{cycleTime | fixed:0}}<small> 초 / 택트 60</small></span>\n</div>",
"style": ".st{box-sizing:border-box;height:100%;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto 1fr auto;row-gap:4px;padding:10px 14px;\nborder:1px solid var(--u-widget-border);border-top:4px solid var(--c);border-radius:8px;background:var(--u-widget-surface);\nfont-family:var(--u-widget-font-family);color:var(--u-widget-text);--c:#8a96a0}\nb{font-size:15px;font-weight:600}\n.tag{align-self:start;font-size:11px;font-weight:700;padding:1px 7px;border-radius:9px;border:1.5px solid var(--u-widget-text);color:var(--u-widget-text)}\n.state{grid-column:1/3;display:flex;align-items:center;gap:6px;font-size:12px;color:var(--u-widget-text-secondary)}\ni{width:9px;height:9px;border-radius:50%;background:var(--c);flex:none}\n.ct{grid-column:1/3;font-size:22px;font-weight:600;font-variant-numeric:tabular-nums}\n.ct small{font-size:12px;font-weight:500;color:var(--u-widget-text-secondary)}\n.blocked,.starved{--c:var(--u-widget-warning)}\n.blocked .state,.starved .state{color:var(--u-widget-text);font-weight:600}\n.stopped{--c:var(--u-widget-negative)}\n.stopped .state{color:var(--u-widget-negative);font-weight:600}",
"props": {
"name": "string",
"state": "string",
"stateText": "string",
"cycleTime": "number",
"bottleneck": "boolean"
}
}
},
"data": {
"summary": {
"from": "mes",
"path": "/line/summary",
"time": "updatedAt",
"fresh": 300,
"fields": {
"unitsPerHour": {
"label": "시간당 생산 (목표 60)",
"unit": "대"
},
"unitsToday": {
"label": "오늘 생산 (계획 480)",
"unit": "대"
},
"wip": {
"label": "라인 재공",
"unit": "대"
},
"bottleneckName": {
"label": "병목 공정"
},
"lostMinutes": {
"label": "막힘·대기 손실 (오늘)",
"unit": "분"
}
}
},
"stations": {
"from": "mes",
"path": "/line/stations",
"list": "/value",
"key": "id",
"time": "updatedAt",
"fresh": 300,
"fields": {
"name": {},
"state": {},
"state-2": {
"names": {
"running": "가동",
"blocked": "막힘 — 다음 버퍼 가득",
"starved": "대기 — 앞 버퍼 빔",
"stopped": "정지",
"*": "알 수 없음"
},
"at": "/state"
},
"cycleTime": {},
"bottleneck": {}
}
},
"buffers": {
"from": "mes",
"path": "/line/buffers",
"list": "/value",
"key": "id",
"time": "updatedAt",
"fresh": 300,
"answerTime": "/updatedAt",
"fields": {
"wip": {},
"state": {
"state": {
"full": "warn",
"empty": "warn",
"*": "idle"
}
}
}
}
},
"parts": {
"uph": {
"as": "stat",
"of": "summary",
"show": "unitsPerHour"
},
"today": {
"as": "stat",
"of": "summary",
"show": "unitsToday"
},
"wip": {
"as": "stat",
"of": "summary",
"show": "wip"
},
"bottleneck": {
"as": "stat",
"of": "summary",
"show": "bottleneckName"
},
"lost": {
"as": "stat",
"of": "summary",
"show": "lostMinutes"
},
"body-in": {
"as": "element",
"element": "station",
"of": "stations[body-in]",
"bind": {
"name": "name",
"state": "state",
"stateText": "state-2",
"cycleTime": "cycleTime",
"bottleneck": "bottleneck"
}
},
"welding": {
"as": "element",
"element": "station",
"of": "stations[welding]",
"bind": {
"name": "name",
"state": "state",
"stateText": "state-2",
"cycleTime": "cycleTime",
"bottleneck": "bottleneck"
}
},
"paint": {
"as": "element",
"element": "station",
"of": "stations[paint]",
"bind": {
"name": "name",
"state": "state",
"stateText": "state-2",
"cycleTime": "cycleTime",
"bottleneck": "bottleneck"
}
},
"trim-1": {
"as": "element",
"element": "station",
"of": "stations[trim-1]",
"bind": {
"name": "name",
"state": "state",
"stateText": "state-2",
"cycleTime": "cycleTime",
"bottleneck": "bottleneck"
}
},
"trim-2": {
"as": "element",
"element": "station",
"of": "stations[trim-2]",
"bind": {
"name": "name",
"state": "state",
"stateText": "state-2",
"cycleTime": "cycleTime",
"bottleneck": "bottleneck"
}
},
"final": {
"as": "element",
"element": "station",
"of": "stations[final]",
"bind": {
"name": "name",
"state": "state",
"stateText": "state-2",
"cycleTime": "cycleTime",
"bottleneck": "bottleneck"
}
},
"buffers": {
"as": "chart.bar",
"of": "buffers",
"title": "버퍼별 재공 — 지금과 크기 (대)",
"x": "name",
"y": [
"wip",
"capacity"
],
"series": [
{
"label": "재공",
"color": "#4a555b"
},
{
"label": "버퍼 크기",
"type": "line",
"lineStyle": "dashed",
"symbol": "none",
"color": "#8a96a0"
}
]
}
},
"layout": {
"kind": "canvas",
"size": [
1236,
770
],
"place": {
"uph": [
40,
78,
220,
66
],
"today": [
284,
78,
220,
66
],
"wip": [
528,
78,
220,
66
],
"bottleneck": [
772,
78,
220,
66
],
"lost": [
1016,
78,
220,
66
],
"body-in": [
60,
196,
220,
112
],
"welding": [
520,
196,
220,
112
],
"paint": [
980,
196,
220,
112
],
"trim-1": [
980,
430,
220,
112
],
"trim-2": [
520,
430,
220,
112
],
"final": [
60,
430,
220,
112
],
"buffers": [
40,
600,
1180,
170
]
},
"shapes": {
"title": {
"text": "조립 라인 흐름과 재공",
"at": [
40,
20
],
"size": 24,
"tone": "next"
},
"note": {
"text": "공정 사이 선 = 버퍼, 라벨은 기다리는 차체 수 · 가득 차거나 빈 버퍼만 색 · 택트 60초 · 예시 데이터",
"at": [
40,
52
],
"size": 13,
"tone": "past"
}
},
"links": {
"body-in--welding": {
"from": "body-in",
"to": "welding",
"label": "{{wip}} / 8대",
"show": "state",
"weight": {
"field": "wip",
"bands": [
1.5,
1,
2.5,
3,
4,
6,
6
]
},
"of": "buffers[body-in--welding]",
"width": 2,
"arrow": "end"
},
"welding--paint": {
"from": "welding",
"to": "paint",
"label": "{{wip}} / 8대",
"show": "state",
"weight": {
"field": "wip",
"bands": [
1.5,
1,
2.5,
3,
4,
6,
6
]
},
"of": "buffers[welding--paint]",
"width": 2,
"arrow": "end"
},
"paint--trim-1": {
"from": "paint",
"to": "trim-1",
"label": "{{wip}} / 10대",
"show": "state",
"weight": {
"field": "wip",
"bands": [
1.5,
1,
2.5,
3,
4,
6,
6
]
},
"of": "buffers[paint--trim-1]",
"width": 2,
"arrow": "end"
},
"trim-1--trim-2": {
"from": "trim-1",
"to": "trim-2",
"label": "{{wip}} / 6대",
"show": "state",
"weight": {
"field": "wip",
"bands": [
1.5,
1,
2.5,
3,
4,
6,
6
]
},
"of": "buffers[trim-1--trim-2]",
"width": 2,
"arrow": "end"
},
"trim-2--final": {
"from": "trim-2",
"to": "final",
"label": "{{wip}} / 6대",
"show": "state",
"weight": {
"field": "wip",
"bands": [
1.5,
1,
2.5,
3,
4,
6,
6
]
},
"of": "buffers[trim-2--final]",
"width": 2,
"arrow": "end"
}
}
}
}Data (source answers JSON)
The sources the board reads and what they answered — only the fields the board reads. This page draws the board from these answers, with no server.
Download — data.json{
"connectors": [
{
"key": "mes",
"name": "예시 MES API",
"example": true,
"attribution": {
"text": "예시 데이터 — 실제 라인이 아닙니다"
}
}
],
"capturedAt": "2026-10-20T01:30:00.000Z",
"responses": {
"mes": {
"/line/summary": {
"unitsPerHour": 53,
"unitsToday": 204,
"wip": 18,
"bottleneckName": "도장",
"lostMinutes": 27,
"updatedAt": "2026-10-20T01:29:00Z"
},
"/line/stations": {
"value": [
{
"id": "body-in",
"name": "차체 투입",
"state": "running",
"cycleTime": 52,
"bottleneck": false,
"updatedAt": "2026-10-20T01:29:00Z"
},
{
"id": "welding",
"name": "용접",
"state": "blocked",
"cycleTime": 58,
"bottleneck": false,
"updatedAt": "2026-10-20T01:29:00Z"
},
{
"id": "paint",
"name": "도장",
"state": "running",
"cycleTime": 68,
"bottleneck": true,
"updatedAt": "2026-10-20T01:29:00Z"
},
{
"id": "trim-1",
"name": "의장 1",
"state": "starved",
"cycleTime": 54,
"bottleneck": false,
"updatedAt": "2026-10-20T01:29:00Z"
},
{
"id": "trim-2",
"name": "의장 2",
"state": "running",
"cycleTime": 55,
"bottleneck": false,
"updatedAt": "2026-10-20T01:29:00Z"
},
{
"id": "final",
"name": "최종 검사",
"state": "running",
"cycleTime": 49,
"bottleneck": false,
"updatedAt": "2026-10-20T01:29:00Z"
}
],
"updatedAt": "2026-10-20T01:29:00Z"
},
"/line/buffers": {
"value": [
{
"id": "body-in--welding",
"name": "투입 → 용접",
"wip": 5,
"capacity": 8,
"state": "normal",
"updatedAt": "2026-10-20T01:29:00Z"
},
{
"id": "welding--paint",
"name": "용접 → 도장",
"wip": 8,
"capacity": 8,
"state": "full",
"updatedAt": "2026-10-20T01:29:00Z"
},
{
"id": "paint--trim-1",
"name": "도장 → 의장 1",
"wip": 0,
"capacity": 10,
"state": "empty",
"updatedAt": "2026-10-20T01:29:00Z"
},
{
"id": "trim-1--trim-2",
"name": "의장 1 → 2",
"wip": 2,
"capacity": 6,
"state": "normal",
"updatedAt": "2026-10-20T01:29:00Z"
},
{
"id": "trim-2--final",
"name": "의장 2 → 검사",
"wip": 3,
"capacity": 6,
"state": "normal",
"updatedAt": "2026-10-20T01:29:00Z"
}
],
"updatedAt": "2026-10-20T01:29:00Z"
}
}
}
}