Gantt diagram with no dates but generic timeline

0 votes
asked May 6, 2022 in Question / help by steingod
While using the activity, deployment and sequence diagrams for a long time, I recently discovered Gantt diagrams as well. This is very good, but for project proposals we do not know when the project is to start, so referring milestones and activities to a T0 would be beneficial. I have been searching for information on this, but is unable to find it.

Typically we would need to start an activity with a milestone (e.g. a Kick off). Using dates this is straight forward, but is it possible to do this with a generic timeline starting at T0?

1 Answer

0 votes
answered May 6, 2022 by The-Lu (64,760 points)

Hello S.,

For that, here is an attempt:

@startgantt
title Generic timeline starting at T0

[T0] lasts 1 days
[Kick off] happens at [T0]'s end
then [Prototype design] lasts 15 days
[Prototype completed] happens at [Prototype design]'s end
[Test prototype] lasts 10 days
[Test prototype] starts at [Prototype design]'s end

@endgantt

See also doc. here:

If that can help,
Regards.

commented May 6, 2022 by anonymous
Thanks for the effort. It doesn't work entirely unfortunately. It works sort of when playing with days, but I need to play with weeks (or even better months - multiyear proposal) and then I loose the timescale. I am probably pushing the limits for what PlantUML was created for, but I really like this tool.
commented May 6, 2022 by The-Lu (64,760 points)

Another attempt, will be to make the diagram on the past... (a long time ago):

@startgantt
title Generic timeline starting at T0

project start 1003/01/01
saturday are closed
sunday are closed

[T0] lasts 1 days
[Kick off] happens at [T0]'s end
then [Prototype design] lasts 3 weeks
[Prototype completed] happens at [Prototype design]'s end
[Test prototype] lasts 10 days
[Test prototype] starts at [Prototype design]'s end

@endgantt

Then remains only the command to suppress mention of the (1003 [Middle Ages]) Year... :)

Regards.

commented May 16, 2022 by valexiev (1,200 points)
...