Platform 4.0

Scenario development methodology

Version the graph, separate shared logic from camera parameters and validate the event definition.

Browsing: Platform 4.0

Prepare the environment

Before composing a graph, prepare the model and version, required reference data, test asset and a formal description of the event. Define the evidence and output expected by the operator or downstream system.

BOX 5.0 Detector properties: model, version and category selection
BOX 5.0 Detector properties: model, version and category selection. The sample_deim alias, version and checked classes are specific to the recorded training example. Localized reference view; captured settings and values are preserved.

Scenario and version fields

FieldMeaning
name / versionScenario name / version label, up to 255 characters
scenario_typeframe_scenario or event_scenario
execute_typeby_camera, by_object or all_cameras: event-state scope
scenario_id / version_idPositive integer identifiers created by the server
version_uuidRoot graph-tab identifier
section_idCatalogue section or empty value

Publication, archive and deletion states are changed by their dedicated operations. Do not change them by editing arbitrary graph fields.

BOX 5.0: the scenario-version form separates opening the logic editor from Save as draft and Save and publish
BOX 5.0: the scenario-version form separates opening the logic editor from Save as draft and Save and publish. The illustrated model alias and version belong to the recorded training example. Localized reference view; captured settings and values are preserved.

flow_data: Node-RED graph structure

flow_data contains an array of graph objects. type=tab represents a tab; executable node types come from the installed palette. Block-specific fields are stored with each block.

FieldPurpose
idUnique object identifier inside the graph
typetab or machine-readable block type
label / nameDisplay name
zIdentifier of the block’s tab
wiresstring[][]: recipient identifiers for each output
x / yEditor coordinates, not processing parameters
[
  {"id": "scenario-tab", "type": "tab", "label": "Zone check"}
]

// Example wiring: output 0 goes to node-a and node-b; output 1 to node-c.
// "wires": [["node-a", "node-b"], ["node-c"]]

flow_settings: extracted parameters

On save, the graph-processing service extracts configurable block parameters. blocks[] contains block id, name, type and parameters. Parameter entries may include name, type, value, editable, default_value, options and translations. Use the deployed contract when creating or editing these fields.

Unification and publication

Keep common operations before branching and after merging. Reuse repeated chains and pass camera-specific parameters through zones, reference data and settings rather than graph copies. The editor stores flows.json in its session; the backend extracts settings and stores graph and model dependencies before publication.

BOX 5.0: Save changes stores the editor/Sandbox changes before returning to the scenario version
BOX 5.0: Save changes stores the editor/Sandbox changes before returning to the scenario version. Draft and publication actions are separate controls on the version form. Localized reference view; captured settings and values are preserved.

Debug and maintain

Resolve graph initialisation first, then inspect detections, tracks, filters and events. Monitor quality and load after publication. Document camera overrides separately and retain a rollback version.

Extracted parameter fields

Path in flow_settingsMeaning
blocks[]Each block’s id, name, type and parameters
parameters[].nameMachine parameter name
parameters[].typeParameter type
parameters[].valueCurrent value or null
parameters[].editableWhether it can be edited
parameters[].default_valueDefault value
parameters[].optionsAllowed choices
parameters[].translationsLocalized display names

Validate field types and nested JSON in the selected block’s settings. Use the editor to change the graph; do not manually replace flows.json in a live session. The tab/wiring example above describes a format, not an executable detector.

Publication transport and service naming

After the backend extracts settings and model dependencies through inf-flows-manager, scenario storage retains the version and root graph tab. Publication distributes available versions and current settings to consumers through Kafka.

Different delivery documents use wf-/svr- and sbx-/nr-sbx- prefixes. Locate service logs using the names in the deployed compose file.

Use the documentation and configuration supplied for your installed release. Environment addresses and access credentials are provided privately with the delivery.