Skip to content

Component props

PropTypeDefaultDescription
flow-dataNodeRedNode[]RequiredProvides the Node-RED export array that becomes Vue Flow nodes, edges, tabs, groups, and subflows. Use the full export so referenced tabs and subflows can render.
flow-idstring | nullnullSelects the tab or subflow shown in the canvas. When omitted, the viewer opens the first discovered tab or subflow.
optionsFlowViewerOptionsSee option defaultsChanges which visual layers appear in the viewer. Pass a complete object when overriding defaults.
options.gridlinesbooleantrueShows or hides the dotted canvas background. Turn it off when the viewer sits inside a dense UI.
options.imagesbooleantrueShows or hides node icons when an icon is available. Hide icons when labels need more visual weight.
options.labelsbooleantrueShows or hides text inside nodes. Hide labels for compact overview maps.
options.linklinesbooleanfalseDraws dashed virtual edges between linked link out and link in nodes. Enable it when you want Node-RED link relationships visible in the graph.
options.arrowsbooleanfalsePresent in the options type, but not currently rendered as arrowheads.
auto-fit-viewbooleantrueFits the viewport after the pane is ready, nodes initialize, or the rendered content changes. Disable it when you manage the viewport yourself through the exposed fitView method.
fit-view-optionsFitViewParams{ padding: 0.1 }Passes options to Vue Flow's fitView call. Use it to adjust viewport padding when the graph auto-fits or the built-in fit button runs.

Not affiliated with, endorsed by, or sponsored by Node-RED or nodered.org.