gantt
GraphGantt
Overlapping work on a shared calendar. Write `- build: 0.2 0.75 0.55` for start, end and progress. For a dated log, use Timeline.
- use it
- Good for work that overlaps on a shared calendar.
- instead
- A dated log is Timeline.
launch
- design
- build
- docs
- ship
q1q2q3q4
<GraphGantt title="LAUNCH" stage="build" progress={0.58} ticks={["q1", "q2", "q3", "q4"]}>
- design: 0 0.35 1
- **build**: 0.2 0.75 0.55
- docs: 0.55 0.9 0.2
- ship: 0.85 1
</GraphGantt>install
command
week
- rfc
- patch
- review
monwedfri
<GraphGantt title="THIS WEEK" columns={20} ticks={["mon", "wed", "fri"]}>
- **rfc**: 0 0.4
- patch: 0.35 0.8
- review: 0.7 1
</GraphGantt>| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | — | Caption drawn on the top edge of the frame. |
| items | GanttItem[] | — | label, start, end, optional complete (0–1 fill inside the bar). Optional when children are Markdown. |
| children | Markdown | — | - build: 0.2 0.75 0.55 |
| ticks | string[] | — | Labels under the track, spaced at the ends. |
| columns | number | 24 | Track width in characters. |
| stage | string | — | Row label to focus. Other rows recede. |
| progress | number | — | 0–1 playhead. Draws ▾ on the track. |
| glyphs | "shade" | "ascii" | "hash" | "bar" | string[] | "shade" | Character set. shade is ·░▒▓█. ascii is .- =#@. Pass a preset or your own characters. |
| palette | "mono" | "duo" | "multi" | "mono" | mono is one accent plus muted. duo paints the second series with --graph-accent-2. multi cycles three accents. |
| corner | string | "+" | Character at each corner of the frame. |
| frame | "box" | "corners" | "rule" | "none" | "box" | box draws the dashed border. corners keeps only the corner marks. rule draws dashed lines above and below. none drops the border and padding, and puts the title above the content. |
| className | string | — | Passed to the outer frame. |