DEEPCRAFT Studio 02a: Graph UX & the Node Explorer (Part A)

 

2.1 What Graph UX Is and Why It Matters

Graph UX is the visual, node-based environment in DEEPCRAFT™ Studio where you build an entire machine-learning pipeline as a diagram of nodes joined by wires on a canvas. It is the same six-stage workflow from Lesson 01 — collect, label, preprocess, train, evaluate, code-gen — but expressed graphically, so you can see exactly what data flows between steps and in what shape. The same graph you build and run can also be turned directly into C source code, which is why Graph UX sits at the center of the Studio experience. This material is based on DEEPCRAFT™ Studio version 5.16.7527.0.

2.2 The Graph UX Workspace

Open a canvas by expanding the GraphUX project and double-clicking main.imunit. The workspace has four main areas: the Node Explorer (usually on the left) lists every building block and is reopened from View > Node Explorer; the Canvas is where you place and wire nodes (zoom with the mouse wheel, save with File > Save Main.unit As); the Properties panel shows the settings of the selected node; and the Toolbar holds the Start button (run the graph) and the Generate Source Code button (emit C).

2.3 Core Concepts: Unit, Node, Wire, Graph, Sub-graph

A handful of terms describe everything you do on the canvas. A Unit (.imunit) is a single function or operation in the Library; a Node is a unit dragged onto the canvas (an instance — you can place several of the same unit); and the Main unit (main.imunit) is the root that, when run, executes every active, connected graph. A Sensor Node collects data from an external source and serves as the start of a graph.

A Wire connects nodes; its Wire Attributes show the data shape (in brackets, e.g., [640, 480, 3]) and the frequency. A node that receives a shape or rate it cannot handle shows an error. A Graph is a set of nodes and wires representing the end-to-end workflow, and several graphs can sit side by side on one canvas. A Sub-graph is part of a graph shown at a different level of detail — double-click a trained-model node to see the network inside, or right-click and choose Convert to Editable Units to expand it. Search and add nodes with Ctrl+T (or double-click / right-click the canvas); click a node to view or set its Properties; right-click to Copy, Enable/Disable, or Delete.

2.4 Node Explorer Overview: Library and Boards

The Node Explorer contains two directories. The Library holds all the reusable building blocks, grouped into the folders that follow (each shown as an expandable panel below). The Boards directory shows your connected board and its sensors, and appears only after the board is flashed with streaming firmware (Protocol v2) and the matching option is enabled (see 2.11).

Reading a node's Properties. Every node shares the same core fields, so the component descriptions below only cover what is specific to each one:

  • Unit Name — the unit's fixed name (read-only).
  • Unit Description — View description opens the unit's official notes.
  • Enabled (On/Off) — whether the node is active in the graph; the same as right-click Enable/Disable.
  • Node Name — a custom name for this instance; blank shows the Unit Name.
  • Inputs / Outputs — the node's ports and their data types (e.g., Tensor).
  • Profiling (On/Off) — measures this node's run-time performance; normally off.

Port colors: red = primary data in/out; green = secondary/optional inputs, often fed by a constant or an Expression.

2.5 The Boards Directory

When you connect a board that has been flashed with streaming firmware (Protocol v2), its name and all configured sensors appear under Boards, with a green dot indicating that it is connected. The prerequisite is to enable Use Node Explorer with Protocol Version 2 in Tools > Options (under Graph UX → Capture Nodes). In the protocol's model, the board is the server, each sensor is a device, and DEEPCRAFT™ Studio is the client; data flows as streams of tensor frames, each with a shape and a frequency — exactly the Wire Attributes you see on the canvas. One device can expose several streams (for example, an IMU provides both accelerometer and gyroscope data), and any firmware-defined options appear in the node's Properties.

2.6 Sensor Setup — PSoC™ 6 AI Kit

After connecting the kit, the Boards directory shows PSOC 6 AI (CY8CKIT-062S2-AI) with these sensor devices: Microphone (audio for sound/voice models), IMU (6-axis accelerometer + gyroscope for motion and gesture), Magnetometer (orientation/heading), DPS (barometric pressure), and Radar (60 GHz radar for presence and gesture). Drag a sensor onto the canvas to turn it into a Sensor Node (the graph's input). Its output wire shows the shape and frequency, and its Properties let you set the sample rate, range, or channels, along with any firmware-defined options. For example, drag Microphone onto the canvas to begin an audio pipeline.

2.7 Sensor Setup — PSoC™ Edge E84 AI Kit

On the PSoC™ Edge E84 AI Kit, the Boards list adds, alongside IMU, Magnetometer, DPS and Radar, a Camera/image input (the key addition, feeding image/vision AI), a Humidity & Temperature sensor, and dual microphones (analog I2S and digital PDM). The camera node feeds the Image Processing folder (2.8) and, together with the on-chip Ethos™-U55 NPU, is what enables object detection on this board; the full vision workflow is covered in Lesson 11. Every other sensor node is configured exactly as on the PSoC™ 6 — drag it onto the canvas and set its Properties.

2.8 Summary

You now know the Graph UX workspace, the core vocabulary (unit, node, wire, graph, sub-graph), the input-side Library folders, and how the two target boards expose their sensors under the Boards directory. Lesson 02b completes the Node Explorer tour with the computational operators — Math, Signal Processing, Utilities, and Project — and builds a minimal end-to-end graph.

© 2026 Air Supply Information Center (Air Supply BBS)