Line

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

Cockpit client (features), v0.9. Source: ui/client/features/flow-browser/domain/FlowRelations.ts.

Functions#

relationsFor()#

relationsFor(rows, selectedId): Map<string, Relation>

Defined in: ui/client/features/flow-browser/domain/FlowRelations.ts:34

For a selected row: which FILES the selection uses (its imports, transitively) and which use it. Worked out on files, so a file drawn under two routes is tagged wherever it appears.

Parameters#

rows

FlowRow[]

selectedId

string | null

Returns#

Map<string, Relation>