gantt diagram with fraction of days

+3 votes
asked Aug 21, 2019 in Wanted features by anonymous
I would like to be able to make gantt diagram with duration other than days. Currently I would like to visualize CI/CD pipeline, which runs a few hours. One critical thing is that, if I generate diagram like this (day mean minute with ceil(actual duration in seconds / 60) approach):

@startgantt
[git checkout] lasts 1 days
then [mvn clean compile] lasts 3 days
then [mvn package deploy] lasts 2 days
then [ansible deploy] lasts 5 days
@endgantt

I lost precision here, where git checkout does take only few seconds, but is visualized as "1 day" (1 minute in my scale).

Another problem are delays in this type of nonstandard gantt usage. There are some delays between steps, which I do not want to visualize as anything, just start another thing "delayed". For example something like:

@startgantt
[Prepare documentation] lasts 10 days
then [delay: send by RFC 2549 implementation chef developer] lasts 0.3 days
then [estimate needed number of code monkeys] lasts 2 days
then [delay: hiring possible only at month beginning. No work before new month starts] cronRounding 0 0 1 * *
then [implement things] lasts 20 days
then [delay: CEO approval takes some little time] lasts 1.5 days
then [deploy implemented application for each customer] lasts 4 days
@endgantt

note: cronRounding I would expect to take any cron expression. Given sample is "every month". See https://crontab.guru/every-month

Is something like this (weird usage) needed also by someone else?
commented Nov 5, 2019 by larrynyquil (100 points)
Both of these are good as options to have. (I especially agree with the delay feature)

1 Answer

0 votes
answered Jan 19, 2020 by plantuml (295,000 points)
If we go under day level, then we have to think about how to define working hours.

I mean, we cannot assume that a day is a 24 hours working day. So we have to define working hours (for example : 8am -> 12pm then 2pm-> 6pm).

Or we have to works with fractionnal load. (A task during 4.75 days for example).

Not sure which solution is the best.
commented Dec 28, 2021 by ilia
any news on this one ? :))
...