Gantt Diagram: add memos or explanations to tasks

0 votes
asked May 18, 2020 in Question / help by anonymous

PlantUML is very useful and helpful

every day, thank you!

By the way, can I add memos or explanations to tasks

like sequence diagram ?

example:

@startgantt

Project starts 2020/05/18

[task01] starts at 2020/05/19 and lasts 4 days

note bottom

memo1 ...

memo2 ...

explanations1 ...

explanations2 ...

end note

@endgantt

1 Answer

0 votes
answered Aug 21, 2020 by plantuml (295,000 points)

With last beta http://beta.plantuml.net/plantuml.jar you can now have :

@startgantt
[task01] lasts 15 days
note bottom
  memo1 ...
  memo2 ...
  explanations1 ...
  explanations2 ...
end note

[task01] -> [task02]
@endgantt

This is quite limited right now. Tell us what you think about it !

commented Aug 22, 2020 by anonymous

Download plantuml.jar(beta), and use PlantUML with VSCode.

This "note" feature is, functionally what I'd like to use!, thank you!!!

It's helpful to add "notes and descriptions of tasks with uncertainty" that were hard to describe in a typical Gantt chart!(great!)

I can use it not only for business but also for personal use.


I tried to input the following code, but the description of "note" overlaps with "task03". I'm trying to find out if I can add a blank line, etc. (How is it possible to write it?)

@startgantt

-- test01 --

[task01] lasts 15 days
note bottom
'note left
memo1 ...
memo2 ...
explanations1 ...
explanations2 ...
end note

[task01] -> [task02]

-- test02 --

[task03] lasts 16 days

@endgantt

commented Aug 24, 2020 by plantuml (295,000 points)
The last beta http://beta.plantuml.net/plantuml.jar gives a better result.

Tell us if you find other issues !

Thanks
commented Aug 29, 2020 by anonymous

Thank you !

I added a "dummy task(dummyXX-XX)”, etc to control what is displayed.

After the first separator:”— test01 —“, it seems easier to control.

After the second separator:”— test02 —“, it can be controled, though differentlly from first separator.

@startgantt

Project starts 2020/07/14

-- test01 --

[task01] starts at 2020/07/21 and lasts 7 days

note bottom

'note left

memo1 ...

memo2 ...

explanations1 ...

explanations2 ...

end note

[task01-02] starts at 2020/08/04 and lasts 7 days

note bottom

'note left

memo1 ...

memo2 ...

explanations1 ...

explanations2 ...

end note

[task01] -> [task01-02]

[dummy01-01] starts at 2020/07/21 and lasts 7 days

[dummy01-02] starts at 2020/07/21 and lasts 7 days

[dummy01-03] starts at 2020/07/21 and lasts 7 days

-- test02 --

[task02] starts at 2020/07/28 and lasts 7 days

note bottom

'note left

memo1 ...

memo2 ...

explanations1 ...

explanations2 ...

end note

[task02-02] starts at 2020/08/15 and lasts 7 days

note bottom

'note left

memo1 ...

memo2 ...

explanations1 ...

explanations2 ...

end note

[task02] -> [task02-02]

[dummy02-01] starts at 2020/07/21 and lasts 7 days

[dummy02-02] starts at 2020/07/22 and lasts 7 days

[dummy02-03] starts at 2020/07/22 and lasts 7 days

[dummy02-04] starts at 2020/07/22 and lasts 7 days

-- test03 --

[task03] starts at 2020/08/04 and lasts 12 days

note bottom

'note left

memo1 ...

memo2 ...

explanations1 ...

explanations2 ...

end note

[task03-02] starts at 2020/08/17 and lasts 7 days

note bottom

'note left

memo1 ...

memo2 ...

explanations1 ...

explanations2 ...

end note

[task03] -> [task03-02]

-- test04 --

@endgantt

commented Aug 31, 2020 by The-Lu (64,340 points)

Hello all,

Here is another issues (on V1.2020.17beta5):

@startgantt

-- test01 --

[task01] lasts 4 days
note bottom
'note left
memo1 ...
memo2 ...
explanations1 ...
explanations2 ...
end note

[task02] lasts 8 days
[task01] -> [task02]
note bottom
'note left
memo1 ...
memo2 ...
explanations1 ...
explanations2 ...
end note
-- test02 --

[<back:red>task03] as [t3] lasts 7 days
[t3] -> [<back:red>t4]
@endgantt


[Code on PlantUML server]

Thanks for yours works,
Regards,
Th.

commented Sep 5, 2020 by anonymous
edited Sep 5, 2020

Now, I got this diagram!, thank you!

 Can I set border color, backgroud color on "note"s through "<style>" or skinparam or any ?

@startgantt

<style>

ganttDiagram {

task {

BackgroundColor white

BorderColor black

NoteBackgroundColor white

NoteBorderColor black

'FontName Helvetica

'FontColor red

'FontSize 18

'FontStyle bold

'BackGroundColor blue

'LineColor yellow

}

'milestone {

' FontColor blue

' FontSize 25

' FontStyle italic

' BackGroundColor yellow

' LineColor red

'}

}

</style>

Links are colored in blue

Project starts 2020/07/14

-- test01 --

[task01] starts at 2020/07/21 and lasts 7 days and is colored in cornsilk/black

note bottom

'note left

memo1 ...

memo2 ...

explanations1 ...

explanations2 ...

end note

[task01-02] starts at 2020/08/04 and lasts 7 days and is colored in cornsilk/black

note bottom

memo1 ...

memo2 ...

explanations1 ...

explanations2 ...

end note

[task01] -[#A0A]-> [task01-02]

[<color:transparent>.] starts at 2020/07/21 and lasts 1 days and is colored in transparent/transparent

-- test02 --

[task02] starts at 2020/07/28 and lasts 7 days and is colored in LightCyan/black

note bottom

memo1 ...

memo2 ...

explanations1 ...

explanations2 ...

end note

[task02-02] starts at 2020/08/15 and lasts 7 days and is colored in LightCyan/black

note bottom

memo1 ...

memo2 ...

explanations1 ...

explanations2 ...

end note

[task02] -> [task02-02]

[<color:transparent>..] starts at 2020/07/21 and lasts 1 days and is colored in transparent/transparent

[<color:transparent>.._] starts at 2020/07/21 and lasts 1 days and is colored in transparent/transparent

[<color:lightgray>..__] starts at 2020/07/21 and lasts 1 days and is colored in white/white

[<color:lightgray>..___] starts at 2020/07/21 and lasts 1 days and is colored in white/white

-- test03 --

[task03] starts at 2020/08/04 and lasts 12 days and is colored in HoneyDew/black

note bottom

memo1 ...

memo2 ...

explanations1 ...

explanations2 ...

end note

[task03-02] starts at 2020/08/17 and lasts 7 days and is colored in HoneyDew/black

note bottom

memo1 ...

memo2 ...

explanations1 ...

explanations2 ...

end note

[task03] -> [task03-02]

[...] starts at 2020/07/21 and lasts 3 days

[..._] starts at 2020/07/21 and lasts 3 days

[...__] starts at 2020/07/21 and lasts 3 days

[...___] starts at 2020/07/21 and lasts 3 days

-- test04 --

@endgantt

commented Sep 7, 2020 by matsgth@gmail.com

Done with "<style>", thank you!, perfect!

@startgantt

<style>

ganttDiagram {

BackgroundColor white

'BorderColor black

LineColor black

task {

'FontName Helvetica

'FontColor red

'FontSize 18

'FontStyle bold

'BackGroundColor blue

'LineColor yellow

}

'milestone {

' FontColor blue

' FontSize 25

' FontStyle italic

' BackGroundColor yellow

' LineColor red

'}

}

</style>

Links are colored in blue

Project starts 2020/07/14

-- test01 --

[task01] starts at 2020/07/21 and lasts 7 days and is colored in cornsilk/black

note bottom

'note left

memo1 ...

memo2 ...

explanations1 ...

explanations2 ...

end note

[task01-02] starts at 2020/08/04 and lasts 7 days and is colored in cornsilk/black

note bottom

memo1 ...

memo2 ...

explanations1 ...

explanations2 ...

end note

[task01] -[#A0A]-> [task01-02]

[<color:transparent>.] starts at 2020/07/21 and lasts 1 days and is colored in transparent/transparent

-- test02 --

[task02] starts at 2020/07/28 and lasts 7 days and is colored in LightCyan/black

note bottom

memo1 ...

memo2 ...

explanations1 ...

explanations2 ...

end note

[task02-02] starts at 2020/08/15 and lasts 7 days and is colored in LightCyan/black

note bottom

memo1 ...

memo2 ...

explanations1 ...

explanations2 ...

end note

[task02] -> [task02-02]

[<color:transparent>..] starts at 2020/07/21 and lasts 1 days and is colored in transparent/transparent

[<color:transparent>.._] starts at 2020/07/21 and lasts 1 days and is colored in transparent/transparent

[<color:transparent>..__] starts at 2020/07/21 and lasts 1 days and is colored in transparent/transparent

[<color:transparent>..___] starts at 2020/07/21 and lasts 1 days and is colored in transparent/transparent

-- test03 --

[task03] starts at 2020/08/04 and lasts 12 days and is colored in HoneyDew/black

note bottom

memo1 ...

memo2 ...

explanations1 ...

explanations2 ...

end note

[task03-02] starts at 2020/08/17 and lasts 7 days and is colored in HoneyDew/black

note bottom

memo1 ...

memo2 ...

explanations1 ...

explanations2 ...

end note

[task03] -> [task03-02]

[<color:transparent>...] starts at 2020/07/21 and lasts 1 days and is colored in transparent/transparent

[<color:transparent>..._] starts at 2020/07/21 and lasts 1 days and is colored in transparent/transparent

[<color:transparent>...__] starts at 2020/07/21 and lasts 1 days and is colored in transparent/transparent

[<color:transparent>...___] starts at 2020/07/21 and lasts 1 days and is colored in transparent/transparent

-- test04 --

@endgantt

...