Skip to content

Synoptic editor

The Synoptic widget is a JSON diagram. The synoptic editor in the builder lets you draw it: place symbols, connect them with pipes, bind them to tags and watch the real values move the drawing, without leaving the page. The JSON stays what it is (and stays editable in the node’s dialog in the Node-RED editor); the editor is just a visual way to write it.

  1. In the builder, select a synoptic (a click on its tile, or Layers).
  2. Click Edit synoptic in the properties inspector, or choose it in the tile’s context menu.

The editor fills the window. It works on a draft: nothing reaches the node until you click Apply in its header, which closes the editor and puts the diagram in the builder as one undoable change, like any other edit of the page. Then Apply & deploy in the builder, as always. Cancel (or Esc) closes it; if you changed something it asks before discarding.

The builder must have been opened from the Node-RED editor (Edit layout), as for the Tags tab.

Area What it holds
Header Panes button, undo and redo, align and distribute, the pipe tool, the Live pill, the item count (3 items · limit 500), Cancel and Apply
Left pane Symbols (the palette), Tags and Layers, one section each
Canvas The diagram, drawn with the real symbols. A toolbar above it: snap to grid, smart guides, rotate, flip, delete, zoom
Right pane The inspector: the canvas size, grid and theme (Tessera, the default, or ISA-101; the canvas draws the same look as the dashboard) when nothing is selected; the preview values and the bindings of the selected item

The Symbols section lists every symbol of the core library and of the installed symbol packs, grouped by category, with a search (by name, id or tag; case and accents don’t matter) and a chip per category.

  • Drag a symbol onto the canvas: it is centred on the drop point, snapped to the grid, with the size of its manifest.
  • Click it, or press Enter on it, to add it in the middle of what the canvas shows now (it never lands exactly on top of another one).

Ids are the symbol’s name (pump), then pump-2, pump-3… Rename one in Layers (F2 on a row). On the canvas you select (click, Shift + click, or a rectangle on empty space), move (drag; arrow keys move one grid step, Shift ×10), resize (the handles), rotate (R turns 90° clockwise, Shift + R counter-clockwise, or the handle above the box for any angle) and flip (H, V). Snap and guides can be switched off in the toolbar; hold Alt while dragging to place freely. Zoom with the wheel or + and −, pan with Space + drag, 0 fits the diagram.

Only core and pack symbols are offered; items from extension packages are not (yet).

Layers lists the items top first. Click to select (it stays in step with the canvas), drag a row to reorder, or use Ctrl + ] and Ctrl + [ to move the selection one step forward or back (add Shift for the front or the back). With several items selected, the header aligns them (left, centre, right, top, middle, bottom) and distributes three or more. Ctrl + C and Ctrl + V copy and paste, also into another synoptic: ids that clash are regenerated and tags are kept, since tags are global. Ctrl + D duplicates one grid step away.

Press P (or click the pipe tool) and drag from one port to another: the ports of every symbol show while the tool is on. The pipe is routed for you with right angles around the other equipment, and it re-routes when you move or resize what it joins. Release anywhere but on a port and nothing is drawn (there are no dangling pipes). Esc cancels a drag, and a second Esc leaves the tool.

Dragging a segment by hand pins the pipe: from then on it keeps the path you drew, and its inspector says so. Unpin (re-route) hands it back to the router.

Flow suggestion. When a pipe starts at a pump, compressor, fan or blower that has a running tag, a chip appears over the canvas: Flow follows <tag>. One click binds the pipe’s flow to that tag (its own undo step); dismiss it and nothing is bound. A pipe is never bound silently.

A pipe also takes a tag dropped on it (below): a number sets the speed of its flow dots, a boolean moves or stops them.

The Tags section lists the known tags with their live value, type and unit, and how many items of the draft use each one (a badge). Filter with All, Unbound and Bound, or search.

Drag a tag onto a symbol and the editor binds the property that fits its type and unit. A % tag on a tank binds both level and value (the unit is copied), and one undo takes both off. A boolean on a pump binds running. If several properties fit, a small menu asks which one.

Drag a tag onto an empty spot and a menu offers Value display (a text bound to the tag, with its unit) and up to six symbols that fit the tag, already bound. A number without a unit is not offered a tank: it could be anything.

Without the mouse: select an item, focus a tag and press Enter to bind it. Clicking a tag that is used selects the items that use it.

Select an item and the right pane shows its bindings, one card per property of the symbol (level, running, fault…), with the tag, and for a number the scale (× and +), the span (the range of the raw value) and the format (decimals and unit). A tag is picked from the known tags, with the same autocomplete as everywhere else, and choosing one copies its unit.

Rules are ordered conditions on the value (=, ≠, >, ≥, <, ≤): the first that matches wins, an optional closing else catches the rest, and each rule sets a color (normal, ok, warn, alarm, alarm-1 to alarm-4, muted, accent) and can blink or hide the item. Reorder them with the arrows. For a number the card also draws a range bar: the span cut into the colors of its rules, with the live value marked on it, and the rule that matches right now is flagged.

An item can also get a command (set, toggle, pulse, go to page) with its confirmation; see Synoptic → Commands.

A symbol also has a Click action: Auto (a symbol with bound tags opens its faceplate, with its command inside; one with only a command sends it), Faceplate, Command, Go to page or None, with a line under it saying what Auto does for this item. Go to page shows a list of the dashboard’s other pages by title and makes a click go there (the link is stored with the page’s id; it also works on text, value, button and image items, which only have Auto and Go to page, and the line warns when the page no longer exists); see Synoptic → Click action and faceplate. Clicks never act in the editor.

Every edit is tried against the same rules the runtime enforces, so what would be rejected is refused on the spot, with the reason under the field, instead of at Apply (a binding holds up to 8 properties, a property up to 16 rules).

The canvas is live while you edit: it shows the draft with the values of the tag table, so a tank you just bound moves to the real level. Values come from the dashboard of the deployed synoptic and from the Node-RED editor’s tag list (every two seconds), so a tag that only your draft binds shows data too. The Live pill in the header says how the bound tags stand (Live, Live · 2 stale, Live · 1 bad, Live · no data) and switches the values off, to see the design-time look.

You don’t need a tessera-tags node to design: bindings are saved and simply show no data.

Commands never fire in the editor: a click on a command item selects it.

With the plant idle, a tag that is bad or one that does not exist yet, there is nothing to tune rules against. The Preview block of the inspector pins a value on a tag the selected item binds: the canvas and the range bar follow it. Pins live only in this window: they are never saved, never reach the dashboard, and are gone when the editor closes. The header counts them (2 pinned · not saved) and Clear pins drops them all.

  • Tab on the canvas hides both side panes, and the canvas takes the full width; Tab again brings them back. The Side panes button in the header does the same, and it is what a keyboard user reaches with Tab. In a text field (or on a button), Tab moves focus as always; Shift + Tab leaves the canvas.
  • Below 1280 px the left pane becomes an icon rail (Symbols, Tags, Layers). An icon opens its section in a flyout over the canvas; Esc, a click outside, the icon again or the close button shuts it, and Esc never closes the editor while a flyout is open. Adding a symbol from it closes it too.
  • Below 1280 px the right pane is a drawer beside the canvas. It opens by itself when you select one item or drop a tag (so the binding panel is right there) and closes again when the selection empties, unless you opened it with the Inspector button in the header, which also closes it (closed by hand, it stays closed until the selection empties; a tag drop opens it anyway). Tab (side panes hidden) is respected: selecting does not bring the drawer back.
Shortcut Action
Tab (with focus on the canvas; elsewhere it moves focus) Hide or show the side panes
P Pipe tool on or off
Click / Shift + click / drag on empty space Select / add to the selection / select a rectangle
Ctrl + A Select every item
Arrow keys (Shift ×10) Move the selection one grid step
R / Shift + R Rotate 90° clockwise / counter-clockwise
H / V Flip horizontally / vertically
Delete Delete the selection
Space + drag, wheel Pan, zoom
+ / − / 0 Zoom in, zoom out, fit
Alt + drag Move or resize without the grid
Ctrl + C / Ctrl + V Copy, paste (also in another synoptic)
Ctrl + D Duplicate
Ctrl + ] / Ctrl + [ One step forward / back (Shift: front / back)
Ctrl + Z / Ctrl + Shift + Z (Ctrl + Y) Undo / redo
Enter (on a symbol or a tag) Add the symbol / bind the tag to the selection
F2 (on a layer) Rename the item
Esc Clear the selection, close a flyout or a menu, then Cancel
  • 500 items (pipes count), 256 KB of JSON and the other limits of the widget. The count in the header turns red when you are over, the palette stops adding at the limit, and Apply refuses a diagram over any limit and names the one that is exceeded.
  • No grouping: the diagram format has no group, so items are moved and aligned one by one (select several and move them together).
  • Not everything is drawn live in the editor: the state rail, the rotor’s spin and the flow dots of a pipe are the dashboard’s. A rule that hides an item only dims it here, so you can still select it.
  • A pipe snaps to its new route when you release the mouse; it doesn’t follow the drag.
  • The pipe tool needs the symbol list from the runtime (for the ports); if it can’t be loaded the editor says so.
  • Only core and pack symbols; no extension item types.