session_kind_colors: Session Node Kind Colors

View source: R/180_Session.R

session_kind_colorsR Documentation

Session Node Kind Colors

Description

Fixed color map for session node kinds, so timeline bars are colored the same wherever they are drawn. The fill is identical for like kinds, making same-color overlap read as a parallel process (only grid cells run concurrently; containers and sequential steps never share a fill and a time span). Kinds outside the fixed map fall back to rtemis_colors, recycled as needed.

Usage

session_kind_colors(kinds = NULL)

Arguments

kinds

Character vector or NULL: Node kinds to color, in display order, e.g. unique(session_timeline(session)[["kind"]]). NULL returns the whole fixed map, which is what a remote renderer wants when it does not yet know which kinds a run will report.

Details

Exported so rtemis.server can attach the map to its job.result session slice and announce it on the ready frame, which is what lets the rtemislive web UI color its timeline bars and its live progress panel without a hard-coded palette of its own - one definition, here, for every renderer. Exported for rtemis interfaces and marked ⁠@keywords internal⁠.

Value

Named character vector of hex colors, one per element of kinds.

Author(s)

EDG


rtemis documentation built on Oct. 20, 2026, 1:06 a.m.