@theredhead — Frontend Library - v1.0.0
    Preparing search index...

    Interface IGanttDatasource<T>

    Datasource contract for the Gantt chart.

    Follows the same philosophy as IDatasource<T> but is tailored for temporal task data: it exposes a flat list of tasks and a derived list of dependency links.

    interface IGanttDatasource<T = unknown> {
        getDependencies(): readonly GanttDependencyLink[];
        getTasks(): readonly GanttTask<T>[];
    }

    Type Parameters

    • T = unknown

      Optional payload type on each GanttTask.

    Implemented by

    Index

    Methods

    • Returns all dependency links derived from task dependencies arrays.

      Returns readonly GanttDependencyLink[]

    • Returns all tasks.

      Returns readonly GanttTask<T>[]