Blocks that show a value#
Display draws a value on the block face, and Log writes it into the execution log.
These blocks show or record a value during a run, so you can see what a flow is producing without leaving the canvas. Both take a Data input and have no output, which makes them end points for a path. The Visualization category has two blocks: Display and Log.
Display#
Renders its input on the block face in one of three modes, chosen from the Display Mode dropdown in the inspector:
- JSON: shows pretty-printed JSON.
- Table: shows a key and value table for an object, or a row per item for an array of objects.
- Text: shows plain text, and converts any object to a string.
Display is a useful sink while you build. Drop one downstream of a block to see what it emits.
Log#
Writes its input to the execution log as a single line, with the value attached as the line's payload. Use Log to record an intermediate value without taking up space on the canvas. Each entry appears in the execution log, where you can expand it to read the full value.
Which block to pick#
Pick Display to glance at a value on the canvas while you build. Pick Log to keep a record in the run history, or when the value would clutter the canvas if the block drew it out in full.