Your browser sucks, JavaScript disabled! Gunnar's console needs JavaScript and WebAssembly. Git over SSH on port 2222 does not.

nordisk/facett

.nornir/widgets/facett-gantt.md

facett-gantt — design note

Status: builds (egui 0.33 + chrono) + 2 tests green (incl. critical-path). In ordning/crates/widgets/facett-gantt; destined for facett.

What it is

Tasks as bars over a time axis, one row each, with dependency arrows (blocks/depends-on), a progress fill, milestones (diamonds), and a critical-path highlight. Derives from the case's stage/task DAG (the funnel edges) + dates.

API

let mut g = Gantt::new("Bygglov", vec![
    Task::new("utred","Utredning", start, end).progress(1.0),
    Task::new("komm","Kommunicering", start, end).dep("utred").progress(0.5),
    Task::new("beslut","Beslut", start, end).dep("komm"),
]).with_today(today);
if let Some(task_id) = g.ui(ui) { /* clicked */ }
let cp: Vec<String> = g.critical_path();

Design decisions

Move-to-facett / TODO