API Reference PhoenixLiveGantt v#0.1.0

Copy Markdown View Source

Modules

Waterfall (Gantt) view — horizontal bars on a date-range axis.

Pure-function HTML scraper for PhoenixLiveGantt output. Takes the rendered HTML string (as produced by PhoenixLiveGantt.gantt/1Phoenix.HTML.Safe.to_iodata/1) and returns a structured geometry map.

Optional layout helper for the common "I have durations, not dates" case.

Single source of truth for the PhoenixLiveGantt connector path string format.

A Gantt task — one row in the chart, rendered as a horizontal bar on the time axis.

Render, inspect, and assert helpers for the PhoenixLiveGantt view. Replaces ad-hoc probe scripts with a one-line call. Used from tests, IEx, and the mix phoenix_live_gantt.dump task.

Minimal translation helper for Gantt labels + month names.

Mix Tasks

Render a named PhoenixLiveGantt fixture and pretty-print its geometry to stdout. Use this to debug "what does this chart actually look like?" without running the dev server.