pta2002 / typst-timeliney

Create Gantt charts in Typst
MIT License
22 stars 2 forks source link

Only specify duration for "time coordinate" #4

Open KronosTheLate opened 8 months ago

KronosTheLate commented 8 months ago

Currently, the time coordinate is given as (0, 1) for an entry starting at the start and spanning one time-unit.

It would be awesome to get the following functionality: If the time coordinate is given as a single number, it is taken as a duration. The starting point is determined by the end-point of the previous task. If there is no previous task, the starting point is 0. This allows writing up several tasks that depend on each other faster with less parenthesis and commas, and also allows automatic adjustment if an earlier task is changed/removed.