manim-web 0.26.0 → 0.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,179 @@
1
+ import { VGroup } from '../../core/VGroup';
2
+ import { VMobject } from '../../core/VMobject';
3
+ import { Rectangle } from '../geometry/Rectangle';
4
+ import { Line } from '../geometry/Line';
5
+ import { GanttTaskSpec } from './ganttLayout';
6
+ /** A time value, given either as a number or a Date. */
7
+ export type GanttTimeValue = number | Date;
8
+ /**
9
+ * One task on the timeline.
10
+ */
11
+ export interface GanttTask {
12
+ /** Unique task name, used for labels and as a dependency reference. */
13
+ name: string;
14
+ /** Start of the task (number or Date). */
15
+ start: GanttTimeValue;
16
+ /** End of the task (number or Date). */
17
+ end: GanttTimeValue;
18
+ /** Row key. Tasks that share a key share a row. Default: the task name. */
19
+ row?: string;
20
+ /** Explicit bar color. Default: cycled from the palette by row. */
21
+ color?: string;
22
+ /** Names of tasks this task depends on (for dependency arrows). */
23
+ dependencies?: string[];
24
+ }
25
+ /**
26
+ * Options for creating a GanttChart.
27
+ */
28
+ export interface GanttChartOptions {
29
+ /** Tasks to render, top to bottom in row order. */
30
+ tasks: GanttTask[];
31
+ /** Visual width of the time axis. Default: 8 */
32
+ width?: number;
33
+ /** Height of each task bar. Default: 0.4 */
34
+ rowHeight?: number;
35
+ /** Vertical gap between rows. Default: 0.2 */
36
+ rowGap?: number;
37
+ /** Bar colors. Single color applies to all, array cycles by row. Default: palette. */
38
+ barColors?: string | readonly string[];
39
+ /** Fill opacity of the bars. Default: 0.9 */
40
+ barFillOpacity?: number;
41
+ /** Stroke width of the bar outline. Default: 1.5 */
42
+ barStrokeWidth?: number;
43
+ /** Color for the axis, ticks and labels. Default: WHITE */
44
+ axisColor?: string;
45
+ /** Whether to draw the time axis line and ticks. Default: true */
46
+ showTimeAxis?: boolean;
47
+ /** Explicit tick values on the time axis (overrides timeTickCount). */
48
+ timeTicks?: GanttTimeValue[];
49
+ /** Number of evenly spaced ticks when timeTicks is not given. Default: 5 */
50
+ timeTickCount?: number;
51
+ /** Formatter for a tick value. Default: ISO date for Date input, else the number. */
52
+ formatTime?: (value: number) => string;
53
+ /** Font size for the time-axis labels. Default: 18 */
54
+ timeLabelFontSize?: number;
55
+ /** Whether to draw the per-row task labels. Default: true */
56
+ showLabels?: boolean;
57
+ /** Font size for the task labels. Default: 18 */
58
+ labelFontSize?: number;
59
+ /** Whether to draw dependency arrows between tasks. Default: false */
60
+ showDependencies?: boolean;
61
+ /** Color for the dependency arrows. Default: WHITE */
62
+ dependencyColor?: string;
63
+ /** Stroke width of the dependency arrows. Default: 2 */
64
+ dependencyStrokeWidth?: number;
65
+ /** Optional "today" marker position (number or Date). */
66
+ today?: GanttTimeValue;
67
+ /** Color for the today marker. Default: RED */
68
+ todayColor?: string;
69
+ /** Stroke width of the today marker. Default: 2 */
70
+ todayStrokeWidth?: number;
71
+ }
72
+ /**
73
+ * GanttChart - A project-timeline chart mobject.
74
+ *
75
+ * Each task is a horizontal bar that spans its start to its end on a shared time
76
+ * x-axis. Each task sits on one row. Tasks that share a `row` key share a row and
77
+ * may overlap. Optional dependency arrows point from a predecessor's end to a
78
+ * dependent task's start. An optional "today" marker draws a vertical line.
79
+ *
80
+ * Time values are numbers or Dates; a Date is read through getTime(). A task
81
+ * whose end is at or before its start keeps a minimum-width bar anchored at its
82
+ * start, so the bar count always equals the task count.
83
+ *
84
+ * The chart is a VGroup, so Create and FadeIn animate it directly.
85
+ *
86
+ * @example
87
+ * ```typescript
88
+ * const chart = new GanttChart({
89
+ * tasks: [
90
+ * { name: 'Design', start: 0, end: 3 },
91
+ * { name: 'Build', start: 3, end: 8, dependencies: ['Design'] },
92
+ * ],
93
+ * showDependencies: true,
94
+ * today: 5,
95
+ * });
96
+ * scene.play(new Create(chart));
97
+ * ```
98
+ */
99
+ export declare class GanttChart extends VGroup {
100
+ /** The task bars, one per task, in task order. */
101
+ bars: VGroup;
102
+ /** The per-row task labels. */
103
+ taskLabels: VGroup;
104
+ /** The dependency arrows (empty unless showDependencies is set). */
105
+ dependencyArrows: VGroup;
106
+ /** The time axis line. */
107
+ timeAxis: VMobject;
108
+ /** The time-axis tick labels. */
109
+ timeLabels: VGroup;
110
+ /** The today marker, when a today value is given; otherwise null. */
111
+ todayMarker: Line | null;
112
+ protected _tasks: GanttTask[];
113
+ protected _width: number;
114
+ protected _rowHeight: number;
115
+ protected _rowGap: number;
116
+ protected _barColors: string[];
117
+ protected _barFillOpacity: number;
118
+ protected _barStrokeWidth: number;
119
+ protected _axisColor: string;
120
+ protected _showTimeAxis: boolean;
121
+ protected _timeTicks: number[] | null;
122
+ protected _timeTickCount: number;
123
+ protected _formatTime: (value: number) => string;
124
+ protected _timeLabelFontSize: number;
125
+ protected _showLabels: boolean;
126
+ protected _labelFontSize: number;
127
+ protected _showDependencies: boolean;
128
+ protected _dependencyColor: string;
129
+ protected _dependencyStrokeWidth: number;
130
+ protected _today: number | null;
131
+ protected _todayColor: string;
132
+ protected _todayStrokeWidth: number;
133
+ protected _specs: GanttTaskSpec[];
134
+ protected _rowKeys: string[];
135
+ protected _timeRange: [number, number];
136
+ protected _indexByName: Map<string, number>;
137
+ private _usesDates;
138
+ constructor(options: GanttChartOptions);
139
+ /** Default tick formatter: ISO date for Date input, else a trimmed number. */
140
+ private _defaultFormat;
141
+ /** Convert a time value to its x-coordinate on the time axis. */
142
+ valueToX(value: GanttTimeValue): number;
143
+ /** Y-coordinate of the center of row `rowIndex` (row 0 is topmost). */
144
+ rowCenterY(rowIndex: number): number;
145
+ /** Top y-coordinate of the chart area (above the top row). */
146
+ private _chartTop;
147
+ /** Create the horizontal time axis line below the bottom row. */
148
+ private _createTimeAxis;
149
+ /** Build one bar per task spec. */
150
+ private _createBars;
151
+ /** Build the time-axis tick labels. */
152
+ private _createTimeLabels;
153
+ /** The tick values along the time axis. */
154
+ private _tickValues;
155
+ /** Build one label per row, placed to the left of the chart. */
156
+ private _createTaskLabels;
157
+ /** Build an arrow from each dependency's end to the dependent task's start. */
158
+ private _createDependencyArrows;
159
+ /** Build the vertical today marker. */
160
+ private _createTodayMarker;
161
+ /** Get the group of task bars. */
162
+ getBars(): VGroup;
163
+ /** Get the bar for a task by name, or undefined when there is no such task. */
164
+ getBar(name: string): Rectangle | undefined;
165
+ /** Get the group of dependency arrows (empty unless showDependencies is set). */
166
+ getDependencyArrows(): VGroup;
167
+ /** Get the today marker, or null when no today value was given. */
168
+ getTodayMarker(): Line | null;
169
+ /** Get the time range as [min start, max end]. */
170
+ getTimeRange(): [number, number];
171
+ /** Get the number of rows. */
172
+ getRowCount(): number;
173
+ /** Get the task definitions. */
174
+ getTasks(): GanttTask[];
175
+ /** Get the visual width of the time axis. */
176
+ getChartWidth(): number;
177
+ copy(): GanttChart;
178
+ }
179
+ //# sourceMappingURL=GanttChart.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GanttChart.d.ts","sourceRoot":"","sources":["../../../src/mobjects/graphing/GanttChart.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAKxC,OAAO,EAIL,KAAK,aAAa,EACnB,MAAM,eAAe,CAAC;AAEvB,wDAAwD;AACxD,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,IAAI,CAAC;AAE3C;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB,uEAAuE;IACvE,IAAI,EAAE,MAAM,CAAC;IACb,0CAA0C;IAC1C,KAAK,EAAE,cAAc,CAAC;IACtB,wCAAwC;IACxC,GAAG,EAAE,cAAc,CAAC;IACpB,2EAA2E;IAC3E,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,mEAAmE;IACnE,KAAK,CAAC,EAAE,MAAM,CA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,IAAI,MAAM;IAIrB,gCAAgC;IAChC,QAAQ,IAAI,SAAS,EAAE;IAIvB,6CAA6C;IAC7C,aAAa,IAAI,MAAM;IAId,IAAI,IAAI,UAAU;CA2B5B"}
@@ -0,0 +1,36 @@
1
+ import { GanttTask, GanttTimeValue } from './GanttChart';
2
+ /** One resolved task, ready to render. */
3
+ export interface GanttTaskSpec {
4
+ /** Task name. */
5
+ name: string;
6
+ /** Start time as a number. */
7
+ startValue: number;
8
+ /** End time as a number. */
9
+ endValue: number;
10
+ /** Index of the row the task sits on. */
11
+ rowIndex: number;
12
+ /** Resolved bar color. */
13
+ color: string;
14
+ /** Names of the tasks this task depends on. */
15
+ dependencies: string[];
16
+ }
17
+ /** The resolved specs plus the distinct row keys, in row order. */
18
+ export interface GanttLayout {
19
+ /** One spec per task, in task order. */
20
+ specs: GanttTaskSpec[];
21
+ /** Distinct row keys, in first-appearance (top-to-bottom) order. */
22
+ rowKeys: string[];
23
+ }
24
+ /** Read a time value as a number. A Date is read through getTime(). */
25
+ export declare function toTimeNumber(value: GanttTimeValue): number;
26
+ /**
27
+ * Resolve tasks into render specs and the ordered list of rows.
28
+ *
29
+ * The row key of a task is its `row`, or its name when `row` is absent, so a
30
+ * task without a row key gets its own row. Colors come from the task's own
31
+ * color, or the palette cycled by row index.
32
+ */
33
+ export declare function resolveGanttLayout(tasks: GanttTask[], palette: string[]): GanttLayout;
34
+ /** Time range as [min start, max end] across all specs. */
35
+ export declare function ganttTimeRange(specs: GanttTaskSpec[]): [number, number];
36
+ //# sourceMappingURL=ganttLayout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ganttLayout.d.ts","sourceRoot":"","sources":["../../../src/mobjects/graphing/ganttLayout.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9D,0CAA0C;AAC1C,MAAM,WAAW,aAAa;IAC5B,iBAAiB;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,8BAA8B;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,4BAA4B;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,yCAAyC;IACzC,QAAQ,EAAE,MAAM,CAAC;IACjB,0BAA0B;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,+CAA+C;IAC/C,YAAY,EAAE,MAAM,EAAE,CAAC;CACxB;AAED,mEAAmE;AACnE,MAAM,WAAW,WAAW;IAC1B,wCAAwC;IACxC,KAAK,EAAE,aAAa,EAAE,CAAC;IACvB,oEAAoE;IACpE,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB;AAED,uEAAuE;AACvE,wBAAgB,YAAY,CAAC,KAAK,EAAE,cAAc,GAAG,MAAM,CAE1D;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,SAAS,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,WAAW,CAwBrF;AAED,2DAA2D;AAC3D,wBAAgB,cAAc,CAAC,KAAK,EAAE,aAAa,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAWvE"}
@@ -33,6 +33,7 @@ export { CalendarHeatmap, GITHUB_GREENS, type CalendarHeatmapOptions, type Calen
33
33
  export { CandlestickChart, type CandlestickChartOptions, type OHLC } from './CandlestickChart';
34
34
  export { RadarChart, type RadarChartOptions } from './RadarChart';
35
35
  export { WaterfallChart, type WaterfallChartOptions } from './WaterfallChart';
36
+ export { GanttChart, type GanttChartOptions, type GanttTask, type GanttTimeValue, } from './GanttChart';
36
37
  export { PieChart, type PieChartOptions, DonutChart, type DonutChartOptions, computeSliceGeometry, type SliceGeometry, type LabelPosition, } from './PieChart';
37
38
  export { Treemap, type TreemapOptions, type TreemapColorBy } from './Treemap';
38
39
  export { computeTreemapLayout, squarify, treemapNodeValue, type TreemapNode, type TreemapRect, type TreemapTile, } from './treemapLayout';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../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