aryagraph.charts.gantt#

aryagraph.charts.gantt(data: Any, *, lanes: str = 'task', color_by: str | None = None, critical: Iterable[Hashable] | None = None, title: str | None = None, subtitle: str | None = None, width: float = 760, row: float = 22.0, theme: Any = None, time_label: str | None = 'time') → Chart[source]#

Draw a schedule.

Parameters:
  • data – A ScheduleResult or a list of task runs (objects or dicts with node, worker, start, end, optional status/attempt).

  • lanes – "task" gives one row per task (project view); "worker" gives one row per worker (utilisation view).

  • color_by – Node attribute giving a categorical color (e.g. "team"). Without it, critical-path tasks take the accent color and the rest are muted.

  • critical – Tasks to emphasise; defaults to the result’s critical_path.