Skip to content

@eightkk/vue-weave / core / ResourceTimelineProjection

Interface: ResourceTimelineProjection<D, R> ​

Defined in: src/core/resourceTimeline.ts:52

Type Parameters ​

D ​

D = unknown

R ​

R = unknown

Properties ​

bars ​

bars: readonly TimelineBar<D>[]

Defined in: src/core/resourceTimeline.ts:56

One bar per assignment of a placed task, in task order and then row order, with lanes assigned.


dependencies ​

dependencies: readonly TimelineDependency[]

Defined in: src/core/resourceTimeline.ts:58

One chart link per task link whose tasks both have a bar, between representative projections.


dependencyOrigins ​

dependencyOrigins: ReadonlyMap<string, string>

Defined in: src/core/resourceTimeline.ts:66

Chart dependency ID to the task link ID it draws.


hiddenDependencyIds ​

hiddenDependencyIds: readonly string[]

Defined in: src/core/resourceTimeline.ts:70

Links not drawn because a task has no bar (unassigned or unplanned).


laneCount ​

laneCount: number

Defined in: src/core/resourceTimeline.ts:60

The lane count to pass to GanttChart laneCount.


omittedDependencyIds ​

omittedDependencyIds: readonly string[]

Defined in: src/core/resourceTimeline.ts:68

Drawn links with an endpoint that has more than one projection: only the representative pair is drawn.


origins ​

origins: ReadonlyMap<string, ResourceBarOrigin>

Defined in: src/core/resourceTimeline.ts:62

Bar ID to the task and resource it shows.


rows ​

rows: readonly TimelineRow<R>[]

Defined in: src/core/resourceTimeline.ts:54

One row per resource, in input order.


taskBarIds ​

taskBarIds: ReadonlyMap<string, readonly string[]>

Defined in: src/core/resourceTimeline.ts:64

Task ID to the IDs of its bars, in row order. Placed tasks without an assignment map to an empty list.


unplannedTaskIds ​

unplannedTaskIds: readonly string[]

Defined in: src/core/resourceTimeline.ts:72

The unplanned task IDs of the input.

Released under the MIT License.