Line

You are reading the unreleased docs (next). See latest (v0.9)

ui/client/features/flow-browser/domain/FlowRows

Cockpit client (features), next. Source: ui/client/features/flow-browser/domain/FlowRows.ts.

Functions#

fileLabel()#

fileLabel(file): string

Defined in: ui/client/features/flow-browser/domain/FlowRows.ts:10

features/orders/hooks/useOrders.ts -> useOrders.

Parameters#

file

string

Returns#

string


flowRows()#

flowRows(data): FlowRow[]

Defined in: ui/client/features/flow-browser/domain/FlowRows.ts:41

Every row of the flow tree, in drawing order and fully expanded: a route, then per feature (in the route file's import order) each controller with its Behaviour path and Render path beneath it.

Parameters#

data

FlowData

Returns#

FlowRow[]


visibleRows()#

visibleRows(rows, collapsed): FlowRow[]

Defined in: ui/client/features/flow-browser/domain/FlowRows.ts:53

The rows that are drawn: everything under a collapsed row is left out.

Parameters#

rows

FlowRow[]

collapsed

string[]

Returns#

FlowRow[]