Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Add Equipment vocabulary + Rename/SymbolLabels paragraphs to Recipe 2

...

The choice isn't about aesthetics — it's about the question the operator is answering when they open the page.

Operator questionCanvasDashboard
"Where in the plant is this happening?"
?
x
"Is flow going through path A or path B?"
?
x
"What's the state of equipment X right now?"
?
x (if on the flow)
?
x (if ungrouped KPI)
"How is KPI X trending?"x (possible)
?
x
"Which area has the most alarms?"
?
x (possible)x
"Is the plant running within normal bounds today?"
?
x (possible)x
"I need to click on a valve / pump / tank."
?
x (better here)x (possible)
"I need a one-glance shift summary."
?
xx

Rule of thumb: if removing the equipment layout and putting the same data in a grid of tiles would lose meaning, it's a Canvas. If the layout is indifferent to plant geometry, it's a Dashboard. Most plants need both — a Canvas per process area, and a Dashboard for the plant as a whole.

...

  1. Divide the canvas into zones. Rectangular regions for each process section (Intake, Treatment, Distribution) or each info panel (Equipment Detail, Live Metrics, Identity).
  2. Lay zone background Rectangles first. These are the visual scaffolding — operators read the display by scanning zones, not individual shapes.
  3. Place elements WITHIN zone coordinates. Everything in a zone has its Left/Top relative to the zone's origin.
  4. Connect zones with flow indicators. Arrows, pipe lines, direction markers.

Canvas sizes

CanvasWidth × HeightWhen
Standard HD1366 × 728Default, works everywhere
Wide1600 × 900Modern control-room monitors
Full HD1920 × 1080Dedicated operator displays
4K scaled3840 × 2160Rare — prefer 1920×1080 with StretchFill

Zone math (any canvas size, N zones)

...

Call list_elements('Shapes') for the authoritative shape catalog in the current release. Common primitives — all Canvas-only, all theme-aware (Fill/FillTheme, Stroke/StrokeTheme, StrokeThickness):

ShapeRequiredUse when
RectanglePanels, status bars, tank bodies, bars, backgrounds. Has RadiusX/RadiusY for rounded corners.
EllipseTank caps (top/bottom), status LEDs, sight glasses, pump bodies. Circle when Width=Height.
PolygonPoints ≥ 3Arrows, funnels, hoppers, diamonds. Auto-closes. Set Stretch: "None" to preserve exact point coords.
PolylinePoints ≥ 2Open curved lines. Doesn't close. Prefer Gridline for pipes.
PathDataAny curve, arc, complex shape. SVG mini-language (M L H V C Q A Z).
GridlinePoints ≥ 2Use for pipes and orthogonal connections. Constrained to horizontal/vertical segments. The P&ID convention.
SplinePoints ≥ 2Smooth curves through control points (Catmull-Rom). Rare — Path covers most cases.

Pipe segment pattern

json { "Type": "Gridline", "Left": 300, "Top": 200, "Points": "0,0 100,0 100,60 200,60", "StrokeTheme": "Water", "StrokeThickness": 6, "StrokeLineJoin": "Round", "StrokeLineCap": "Round" }

...

These are first-class shape primitives that write with just Type + geometry + colors. The platform auto-injects the underlying Path/Polygon geometry on save. Massive productivity win over composing from primitives. Call list_elements('Shapes') for the authoritative list in the current release. Common auto-shapes:

TypeDefault geometryUse for
CylinderVertical cylinder with elliptical capsTanks, vessels, drums, silos
Gear8-tooth gearMachinery icons, manual/auto toggles
ArrowRight-pointing arrowFlow direction, callouts (rotate via RotateDynamic for other directions)
CloudPuffy cloud outlineMQTT broker, cloud service, weather
Star5-pointed starFavorites, highlights, quality marker
HexagonRegular hexagonNode diagrams, honeycomb layouts
PentagonRegular pentagonRare — use for ANSI warning signs
TrapezoidIsosceles trapezoidHoppers, funnels, cone-bottom tank sections

<ac:structured-macro ac:name="code"> <ac:parameter ac:name="language">json</ac:parameter> ac:plain-text-body{ "Type": "Cylinder", "Left": 300, "Top": 200, "Width": 80, "Height": 180, "FillTheme": "ElementBlue" }</ac:plain-text-body> </ac:structured-macro>

...

Section 4 — Containers (ShapeGroup, SvgGroup, Group)

ContainerChildrenDynamics apply toUse for
ShapeGroupShapes onlyALL children uniformly"The whole vessel turns alarm red when Running=0"
SvgGroupAuto-parsed from inline SVG stringALL children (normalized to ShapeGroup on write)"I have an SVG, I want dynamics per element"
GroupAny element typeEach child has independent dynamics"Interactive panel with chart+buttons that moves as a unit"

ShapeGroup — compose equipment with unified state

...

Visual customization — orientation, style variant, pipe-connection direction, foot details — is handled by the user in Designer via the Wizard configuration button (double-click the symbol in the editor). Do not attempt to reproduce these variants via raw geometry or extra elements; the Wizard holds them.

Equipment vocabulary → which Wizard. Map the operator's words to the right SymbolName before reaching for a Library or composing from primitives. Wizard/BLOWER is for fans, blowers, and forced-draft units — anything that moves air. Wizard/MOTOR is for the rotating drive itself when it's the focal element, decoupled from a pump or fan. Wizard/PUMP covers any liquid mover (centrifugal, positive-displacement, dosing). Wizard/TANK is for vessels with level dynamics — storage tanks, drums, day tanks, surge vessels. Wizard/VALVE is the universal flow-control element — manual, motorized, on/off, modulating. When the equipment in the spec doesn't fall cleanly into one of these five categories, fall through to the §4.5 source order (Solution → Library/HPG → Library/HMI → primitives).

Rename and SymbolLabels. Wizards drop with a generic prefix (PUMP1, PUMP2, TANK1) — that's just the placed-instance name on the canvas, not the bound tag. The actual data wiring is in SymbolLabels: each label Key matches a slot the symbol declares internally (State, RPM, Level, Position), and LabelValue is the @Tag.<path> that drives it. The same Wizard/PUMP placed twice with different SymbolLabels payloads becomes two independently-bound pumps. Never bind via direct properties on the Symbol element itself — SymbolLabels is the only path data takes into a Wizard.

<ac:structured-macro ac:name="code"> <ac:parameter ac:name="language">json</ac:parameter> ac:plain-text-body{ "Type": "Symbol", "SymbolName": "Wizard/PUMP", "Left": 500, "Top": 300, "Width": 80, "Height": 80, "SymbolLabels": [ { "Type": "SymbolLabel", "Key": "State", "LabelName": "State", "LabelValue": "@Tag.Pump1/Running", "FieldType": "Expression" }, { "Type": "SymbolLabel", "Key": "RPM", "LabelName": "RPM", "LabelValue": "@Tag.Pump1/Speed", "FieldType": "Expression" } ] }</ac:plain-text-body> </ac:structured-macro>

...

ActionDynamic action types

ActionTypeExtra fieldsWhat it does
OpenDisplayObjectLink: "DisplayName"Navigate to another display
ToggleValueObjectLink: "@Tag.X"Flip a boolean tag
SetValueObjectLink: "@Tag.X", ObjectValueLink: valueWrite a specific value
RunScriptActionScript: "MethodName"Run a CodeBehind method

Mouse events beyond MouseLeftButtonDown: MouseRightButtonDown, MouseDoubleClick, MouseEnter, MouseLeave. Each is a top-level key on the ActionDynamic.

...