Production line flow
Manufacturing & production · None — flow diagram
A line’s stations in the order work flows through them, with the line’s figures. The card is drawn once, as a component that takes a station’s id, and each station is an instance of it that reads its own row — more stations are more instances. 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{
"presets": {
"station": {
"as": "group",
"size": [
200,
112
],
"parts": {
"card": {
"as": "element",
"element": "station-card",
"bind": {
"name": "name",
"state": "state",
"stateText": "state-2",
"cycleTime": "cycleTime",
"target": "targetCycleTime"
}
}
},
"place": {
"card": [
0,
0,
200,
112
]
}
}
},
"elements": {
"station-card": {
"template": "<div class=\"card\" data-state=\"{{state}}\"><span class=\"name\">{{name}}</span><span class=\"state\"><span class=\"dot\"></span>{{stateText}}</span><span class=\"ct\">{{cycleTime | fixed:1}}<small> 초</small></span><span class=\"target\">목표 {{target}}초</span></div>",
"style": ":host{display:flex} .card{width:100%;height:100%;box-sizing:border-box;border:1px solid var(--u-widget-border);border-radius:10px;background:var(--u-widget-surface);padding:10px 14px;font-family:var(--u-widget-font-family);display:grid;grid-template-columns:1fr auto;grid-template-rows:auto 1fr auto;row-gap:4px;color:var(--u-widget-text)} .name{grid-column:1/3;font-size:13px;font-weight:600} .state{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:600;align-self:center} .dot{width:9px;height:9px;border-radius:50%;background:var(--u-widget-text-secondary);flex:none} .ct{grid-row:2/4;grid-column:2;align-self:end;font-size:22px;font-weight:600;font-variant-numeric:tabular-nums} .ct small{font-size:12px;font-weight:500;color:var(--u-widget-text-secondary)} .target{font-size:11px;color:var(--u-widget-text-secondary);align-self:end} [data-state=\"running\"] .dot{background:var(--u-widget-positive)} [data-state=\"running\"] .state{color:var(--u-widget-positive)} [data-state=\"delayed\"] .dot{background:var(--u-widget-warning)} [data-state=\"stopped\"] .dot{background:var(--u-widget-negative)} [data-state=\"stopped\"] .state{color:var(--u-widget-negative)} [data-state=\"stopped\"]{border-color:var(--u-widget-negative)}",
"props": {
"name": "string",
"state": "string",
"stateText": "string",
"cycleTime": "number",
"target": "number"
}
}
},
"data": {
"summary": {
"from": "mes",
"path": "/line/summary",
"time": "updatedAt",
"fresh": 300,
"fields": {
"state": {
"label": "라인 상태",
"names": {
"running": "가동",
"delayed": "지연",
"stopped": "정지",
"*": "알 수 없음"
},
"state": {
"running": "ok",
"delayed": "warn",
"stopped": "alarm",
"*": "idle"
}
},
"throughput": {
"label": "현재 생산량"
},
"target": {
"label": "목표"
},
"oee": {
"label": "OEE"
},
"downtimeMinutes": {
"label": "비가동(오늘)"
}
}
},
"stations": {
"from": "mes",
"path": "/line/stations",
"list": "/value",
"key": "id",
"time": "updatedAt",
"fresh": 300,
"answerTime": "/updatedAt",
"fields": {
"name": {},
"state": {},
"state-2": {
"names": {
"running": "가동",
"delayed": "지연",
"stopped": "정지",
"*": "알 수 없음"
},
"at": "/state"
},
"cycleTime": {},
"targetCycleTime": {}
}
}
},
"parts": {
"line-state": {
"as": "stat-list",
"of": "summary",
"show": [
"state"
]
},
"throughput": {
"as": "stat",
"of": "summary",
"show": "throughput"
},
"target": {
"as": "stat",
"of": "summary",
"show": "target"
},
"oee": {
"as": "stat",
"of": "summary",
"show": "oee"
},
"downtime": {
"as": "stat",
"of": "summary",
"show": "downtimeMinutes"
},
"cycle-times": {
"as": "chart.bar",
"of": "stations",
"title": "공정별 사이클 시간 — 실적과 목표 (초)",
"x": "name",
"y": [
"cycleTime",
"targetCycleTime"
],
"series": [
{
"label": "사이클 시간"
},
{
"label": "목표",
"type": "line",
"lineStyle": "dashed",
"symbol": "none"
}
]
},
"input": {
"use": "station",
"of": "stations[input]"
},
"process-01": {
"use": "station",
"of": "stations[process-01]"
},
"process-02": {
"use": "station",
"of": "stations[process-02]"
},
"inspection": {
"use": "station",
"of": "stations[inspection]"
},
"packaging": {
"use": "station",
"of": "stations[packaging]"
}
},
"layout": {
"kind": "canvas",
"size": [
1240,
530
],
"place": {
"line-state": [
40,
30,
200,
64
],
"throughput": [
290,
30,
200,
64
],
"target": [
540,
30,
200,
64
],
"oee": [
790,
30,
200,
64
],
"downtime": [
1040,
30,
200,
64
],
"cycle-times": [
40,
300,
1200,
230
],
"input": [
40,
150,
200,
112
],
"process-01": [
290,
150,
200,
112
],
"process-02": [
540,
150,
200,
112
],
"inspection": [
790,
150,
200,
112
],
"packaging": [
1040,
150,
200,
112
]
},
"links": {
"flow-1": {
"from": "input/card",
"to": "process-01/card",
"width": 2,
"arrow": "end"
},
"flow-2": {
"from": "process-01/card",
"to": "process-02/card",
"width": 2,
"arrow": "end"
},
"flow-3": {
"from": "process-02/card",
"to": "inspection/card",
"width": 2,
"arrow": "end"
},
"flow-4": {
"from": "inspection/card",
"to": "packaging/card",
"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": {
"state": "delayed",
"throughput": 74,
"target": 85,
"oee": 76.8,
"downtimeMinutes": 18,
"updatedAt": "2026-10-20T01:29:00Z"
},
"/line/stations": {
"value": [
{
"id": "input",
"name": "투입",
"state": "running",
"cycleTime": 38.2,
"targetCycleTime": 40,
"updatedAt": "2026-10-20T01:29:00Z"
},
{
"id": "process-01",
"name": "가공 1",
"state": "running",
"cycleTime": 41.5,
"targetCycleTime": 42,
"updatedAt": "2026-10-20T01:29:00Z"
},
{
"id": "process-02",
"name": "가공 2",
"state": "delayed",
"cycleTime": 48.6,
"targetCycleTime": 42,
"updatedAt": "2026-10-20T01:29:00Z"
},
{
"id": "inspection",
"name": "검사",
"state": "running",
"cycleTime": 30.4,
"targetCycleTime": 32,
"updatedAt": "2026-10-20T01:29:00Z"
},
{
"id": "packaging",
"name": "포장",
"state": "stopped",
"cycleTime": 0,
"targetCycleTime": 25,
"updatedAt": "2026-10-20T01:28:00Z"
}
],
"updatedAt": "2026-10-20T01:29:00Z"
}
}
}
}