Synoptic
Draws a diagram (a P&ID, a mimic, a floor plan with live markers) as an SVG that scales to its tile, with optional zoom and pan. Every element is bound to a tag of the tag table: a tank fills, a pump spins, a pipe flows, a value changes color, all in the browser. The default look is Tessera (process items in the accent, machinery in a second color, red and orange only for alarms); ISA-101 (grey when everything is normal, color only when something needs attention) is one choice away, see Themes. The widget lives in its own node set, tessera-hmi, which can be disabled in Manage palette.
You don’t have to write the diagram by hand: select the synoptic in the builder and click Edit synoptic to draw it, with a symbol palette, pipes that route themselves and tags you drop on a symbol. See the synoptic editor guide. For a plant graphic, give its page the Process screen layout: the synoptic fills the whole screen under the header, as in a SCADA, and scales to it, instead of being one tile among others in the grid. To show one machine instead of a whole plant, the Equipment card takes a library symbol and one tag per signal, with no diagram to draw.
Normal: the tank fills while the pump runs
Section titled “Normal: the tank fills while the pump runs”The demo changes the tags every couple of seconds, as a tessera-tags node would. Click the pump or the buttons to see the confirmation (the demo sends nothing).
Level above 90 %: a priority 1 alarm
Section titled “Level above 90 %: a priority 1 alarm”One tag gone stale
Section titled “One tag gone stale”The tank’s tag is stale (no message for the table’s No data after): the tank keeps its last value, dimmed and hatched, and stops blinking; the rest of the plant keeps running.
One tag without data
Section titled “One tag without data”The same tag with bad quality (or no value at all): only the elements that use it show as no data, with —.
State signature: priority, acknowledged, fault, manual, interlocked
Section titled “State signature: priority, acknowledged, fault, manual, interlocked”Color only means alarm, and attention is never only color. A rail under the symbol says the rest: the number of lit segments is the priority (P1 four … P4 one), unacknowledged segments are solid and chase, acknowledged ones are outlined and still. A symbol whose fault binding is on (a trip, an overload) is in fault: red contour and tint, a solid red rail, an octagon ✖ badge on its corner and the word Fault under the rail, in the Tessera and in the ISA-101 theme alike (the shape and the word are the cue, not only the red). No data is a dashed empty rail (and a dashed, hatched drawing), stale a row of fading dots, manual a solid rail with an M, interlocked a rail with end stops. The drawing itself only changes color, so a crowded screen stays calm.
Nothing here needs a new field. The priority is the N of the alarm-N color a rule sets, and unacknowledged is blink (a rule without blink is the acknowledged alarm). Manual and interlocked are two optional boolean bindings, manual and locked, that any symbol may have (the rail of the first one that is on is shown). Only symbols get a rail (the other items have no box). When several apply the rail shows one: alarm, then fault, interlocked, manual, stale and no data. The rail code lives in its own chunk, downloaded when the first symbol needs it: a diagram of normal items never loads it. Running and stopped need no rail: a running symbol is tinted, a stopped one is hollow and recedes.
Themes
Section titled “Themes”canvas.theme is classic, the Tessera look and the default, or isa101. Pick it in the synoptic editor (Theme in the canvas settings, shown when nothing is selected) or in the diagram JSON.
Tessera uses two hues, both tokens that follow the dashboard accent and theme (dark and light): the process side (vessels, heat exchangers, valves, instruments and pipes) is drawn in the accent, the machinery (pump, motor, fan, compressor, conveyor) in the second chart color, and shapes (rectangle, circle, line, arrow) are neutral. Red and orange are only for alarms, and a stopped or stale item loses its hue and goes grey. State never rests on color alone: it is also the rail, the glyph and the label. A pipe’s bore is filled while its flow runs and hollow when it does not (a pipe without a flow binding keeps a quiet tint). The class of a symbol follows its library entry (rotating equipment is machinery); a symbol of a pack counts as machinery when its name is pump, motor, fan, compressor or conveyor, and as process otherwise. With an amber accent the process hue falls back to the blue chart color, so it never looks like a warning.
ISA-101 is the grey of control rooms: one grey for everything normal, color only when something needs attention. It stays available for those who ask for it (a 24/7 wall may prefer it).
A diagram saved before the Tessera theme keeps the theme it stored (isa101 was the default then): nothing is migrated. A diagram without theme is Tessera.
The viewer frames what is drawn plus a small margin, so the size of the canvas does not matter (a diagram in a corner of a big canvas still fills its tile; with a canvas.bg picture it shows the whole canvas). The diagram always fits the tile, also when it resizes, like a fixed operator screen: zoom and pan are off by default. Turn on the zoom property (Zoom and pan controls) for a large P&ID: then the wheel, pinch and the buttons at the bottom right zoom, drag pans and double-click on the background fits the diagram to the tile again (the demo above has it on). The motion is part of the widget: rotors spin up and coast down with inertia, levels settle with a slight overshoot, flow dots follow the value (faster with more flow), valves ease to their position, gauge needles and selector knobs turn to the value, a cylinder’s piston and rod stroke with it, and colors cross-fade between states. With reduced motion set in the system, nothing animates: every part is drawn in its final state (a blinking element keeps its steady color).
Properties
Section titled “Properties”| Property | Type | Default | Description |
|---|---|---|---|
label |
string | Synoptic |
Title of the tile |
topic |
string | Sent as msg.topic by the commands |
|
zoom |
boolean | false |
Zoom and pan controls: the buttons, wheel, pinch, drag and double-click to fit. Off: the diagram stays fitted to the tile. Nodes saved before the option are off. msg.ui.zoom changes it |
diagram |
object | empty | The diagram, see below. It is a JSON object in the node’s config (not a string) |
There is no tag property: the tags come from the diagram. Size: 6×4 by default.
The diagram
Section titled “The diagram”{ "v": 1, "canvas": { "w": 1200, "h": 700, "grid": 10, "bg": "media/plant.png", "theme": "classic" }, "items": [ … ]}canvas.bg is a picture of the media library behind everything (a floor plan with live markers); theme is classic (the Tessera look, the default) or isa101 (grey), see Themes. The order of items is the drawing order.
Item type |
What | Fields |
|---|---|---|
symbol |
A symbol: core/tank, core/pump, core/motor, core/fan, core/valve (control valve), core/heat-exchanger, core/isa-bubble, core/stack-light or one from a symbol pack |
sym (<pack>/<name>), x, y, w, h, rot, flip, click; binds the properties of the symbol (tank: level, value, fault; pump, motor, fan, heat exchanger: running, fault; valve: open, level (stem position, 0–1), fault; ISA bubble: value; stack light: red, amber, green, 0–1 or a boolean tag; a pump, motor or fan can also bind a number speed (0–1 by span) instead of running) |
pipe |
A line of stored points, drawn as a hollow tube with rounded elbows below the other items | pts [[x, y], …], kind (pipe, belt, signal); binds flow: a boolean tag moves the flow dots, a number sets their speed (give it a span, so [0, 160] makes 80 half speed). Without flow the pipe is still |
text |
Fixed text | x, y, text; may bind text |
value |
A formatted number or text | x, y; binds value |
command |
A button | x, y, label, cmd |
image |
A picture of the media library | src (media/<name>), x, y, w, h |
Every item has an id ([a-z][a-z0-9_-]{0,31}, unique).
Bindings
Section titled “Bindings”bind.<property> links a property to a tag:
| Field | Description |
|---|---|
tag |
Full tag name, <tessera-tags node>/<key> |
k, off |
Scale a number: x = raw × k + off (default 1 and 0) |
span |
[min, max] (in units of x) that maps a numeric property to 0–1, like the tank level (default [0, 1]) |
rules |
Ordered list, the first that matches wins: { op, v, set } with op in eq ne gt ge lt le (no op is the “otherwise”) |
set |
What a rule does to the whole item: color (normal ok warn alarm alarm-1…alarm-4 muted accent), blink, hide, text ({v} is the formatted value) |
fmt |
{ dec, unit }: decimals and unit |
A boolean property switches a state (running, open), a number moves a level, text fills the symbol’s value. A tag with no value or bad quality shows the element as no data (greyed, —, no rules applied) and only that element: the veil of other widgets is not used here. A stale tag keeps its last value: the element is dimmed and hatched, does not blink or move, and its rules still apply. manual and locked are two more boolean properties a symbol may bind, drawn by the state signature.
Commands
Section titled “Commands”A symbol or command item with a cmd is clickable (a symbol with bound tags opens its faceplate instead, where the command is; click: "command" sends it directly). The browser sends only the item’s id: the runtime looks the item up in the stored diagram and takes the action and the value from there.
action |
Sends | Notes |
|---|---|---|
set |
cmd.value, or a number the operator types ("ask": "number", with min and max, validated by the runtime) |
|
toggle |
The opposite of the current value of cmd.tag |
Refused when the tag has no value, is bad or stale |
pulse |
cmd.value (default true), then its opposite after cmd.ms (default 500, up to 10 000) |
Two messages; if Node-RED stops between them the first one stays |
goto |
Nothing: opens the page in cmd.page |
Browser only |
cmd.confirm (text up to 200 characters) asks for confirmation before sending. It is convenience, not security: Tessera has no users yet and cmd.roles is reserved. Nothing is written to a device: wire the output to the driver node you trust.
Click action and faceplate
Section titled “Click action and faceplate”click says what a click (or Enter or Space) does:
click |
What happens |
|---|---|
auto (default, not stored) |
A symbol with bound tags (bind) opens its faceplate, with its command inside if it has one: one click never starts a pump. A symbol with a cmd and no bound tags (a button-like symbol) sends its command. Anything else does nothing |
faceplate |
Opens the faceplate, whatever the symbol has bound |
command |
Sends the command at once, as a click did before faceplates (nothing happens without one) |
none |
Does nothing |
{ page: '<page id>' } |
A link to another page of the dashboard (see below) |
The faceplate is a dialog (focus trapped inside, Esc or a click outside closes it) loaded only when it is first needed. It shows the symbol’s name, its state (Running, Stopped, Alarm P2, Fault, Stale or No data, from the same bindings that draw it), a trend of its main value (value, else the first number) and one row per binding with its tag, scale, unit and format. With a command it has the buttons for it, each asking for confirmation: a toggle is Start and Stop (the one that would change nothing is disabled when the symbol’s running, or the command’s own tag, says so), a set of true or false is that one, a number is typed in, and any other value or a pulse is one button. They send exactly what click: "command" would send: { item, action, value } on the node’s output, with the action and the value taken from the stored diagram. A goto has no button.
Links between screens. click: { page: '<page id>' } turns a click (or Enter or Space) into going to another page of the dashboard. It works on a symbol and on a block that is not a pipe (a text, value, command button or image): a general plant screen where you tap the Line 1 block and land on the Line 1 screen, with a button there that takes you back. The link names the page by its id (the id of the tessera-page node), so renaming the page’s path does not break it. The item gets the pointer cursor, can be focused and its accessible name is Go to <page title>. A link is an explicit choice: it wins over auto, so a pump with bound tags and a link goes to the page instead of opening its faceplate. It sends no message to the flow. A link to a page that does not exist or is not deployed is not clickable (no pointer, no focus) and the editor warns about it; it does not fall back to the faceplate or the command.
The trend has no server history: it shows the values the browser has received since the page was opened, up to 5 minutes, and says so; a reload starts it again.
{ id: 'p101', type: 'symbol', sym: 'core/pump', x: 180, y: 130, w: 80, h: 90, // click: 'auto' → the faceplate bind: { running: { tag: 'PLC1/P101_Run' }, value: { tag: 'PLC1/P101_Flow', fmt: { dec: 1, unit: 'm³/h' } } }, cmd: { action: 'toggle', tag: 'PLC1/P101_Run' } }A synoptic gets data only from the tag table: a msg.payload on its input is ignored. Send the values of your PLC to a tessera-tags node named PLC1 and the diagram binds PLC1/Tank1_Level, PLC1/P101_Run… The example examples/tessera-tags.json has a working synoptic.
msg.payload = 42; // ignored: values come from the tagsmsg.ui = { label: 'Line 2' }; // change a propertyOutput
Section titled “Output”An operator command emits one message on the node’s output, with the browser that sent it in _client:
{ payload: { item: 'pump', action: 'toggle', value: false }, topic: 'synoptic', // the node's topic _client: { id: 'c8f2…' }}pulse emits two (value: true, then false after ms); goto emits none. A command the runtime does not accept (an unknown item, a number out of range, a toggle without good data) emits nothing and logs a warning on the node.
Limits
Section titled “Limits”A diagram over a limit is rejected whole (a half-drawn plant looks like a normal one): the node turns red with the reason (diagram too large: 310 KB, limit 256 KB), the tile shows it and the rest of the dashboard keeps working.
| Limit | Value |
|---|---|
| Serialized JSON | 256 KB |
| Items (pipes count) | 500 |
| Bindings per item / rules per binding | 8 / 16 |
| Points per pipe | 64 |
| Distinct tags | 500 |
| Canvas | 10 000 × 10 000 units, texts up to 200 characters |
The diagram does not travel with the dashboard’s init: the tile downloads it (cached by content) when it shows up, and each symbol is a separate SVG file downloaded only when a diagram uses it.