The task list (used to build the vertex set).
Optionalcolor?: stringOptional CSS color value for the task bar. Overrides the default color assignment.
Optionaldata?: Record<string, unknown>Optional arbitrary metadata for consumer use. Preserved in the parsed output.
ISO date: YYYY-MM-DD
Unique positive integer identifier for the task.
Optionalparent?: numberOptional id of the parent task. When set, this task is a child in the hierarchy.
0–100 completion percentage (integer).
Optionalreadonly?: booleanWhen true, the task bar cannot be dragged or resized.
ISO date: YYYY-MM-DD
Display name / label of the task.
Optionalcolor?: stringOptional CSS color value for the task bar. Overrides the default color assignment.
Optionaldata?: Record<string, unknown>Optional arbitrary metadata for consumer use. Preserved in the parsed output.
ISO date: YYYY-MM-DD
Unique positive integer identifier for the task.
Initial expanded state for tree hierarchy.
When false, children of this task are hidden on initial render.
Optionalparent?: numberOptional id of the parent task. When set, this task is a child in the hierarchy.
0–100 completion percentage (integer).
Optionalreadonly?: booleanWhen true, the task bar cannot be dragged or resized.
ISO date: YYYY-MM-DD
Display name / label of the task.
Optionalcolor?: stringOptional CSS color value for the task bar. Overrides the default color assignment.
Optionaldata?: Record<string, unknown>Optional arbitrary metadata for consumer use. Preserved in the parsed output.
Unique positive integer identifier for the task.
Optionalparent?: numberOptional id of the parent task. When set, this task is a child in the hierarchy.
Optionalreadonly?: booleanWhen true, the task bar cannot be dragged or resized.
ISO date: YYYY-MM-DD
Display name / label of the task.
The dependency links defining the directed edges.
Optionaldata?: Record<string, unknown>Optional arbitrary metadata for consumer use. Preserved in the parsed output.
Unique positive integer identifier for the dependency link.
Optionalreadonly?: booleanWhen true, the link cannot be modified or deleted through the UI.
The id of the predecessor task (the task that drives the dependency).
The id of the successor task (the task that depends on the predecessor).
Dependency type.
'FS' — Finish-to-start: successor starts after predecessor finishes.'SS' — Start-to-start: successor starts at the same time as predecessor.'FF' — Finish-to-finish: successor finishes at the same time as predecessor.'SF' — Start-to-finish: successor finishes after predecessor starts.
Detects circular dependencies in the link graph using DFS tri-colour marking.