How to change color (or thickness, or style) of arrows, in gantt diagram?

0 votes
asked Jul 18, 2020 in Wanted features by The-Lu (63,920 points)

Hello PlantUML team,

In parallel to: https://forum.plantuml.net/10835/add-style-style-in-gantt

  • How to change color (or thickness, or style) of arrows, in gantt diagram?
    Especialy, on this example, on the arrow from milestone 'P_end'.


 [Click to see on PlantUML server]

Thanks for yours works,
Regards,
Th.

1 Answer

+1 vote
answered Aug 18, 2020 by plantuml (294,960 points)

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

@startuml
Links are colored in blue
[Prototype design] lasts 14 days
[Build prototype] lasts 4 days
[Prepare test] lasts 6 days
[Prototype design] -[#012]-> [Build prototype]
[Prototype design] -[dotted]-> [Prepare test]
@enduml

or

@startgantt
[T1] lasts 4 days
[T2] lasts 4 days and starts 3 days after [T1]'s end with blue dotted link
[T3] lasts 4 days and starts 3 days after [T2]'s end with green bold link
[T4] lasts 4 days and starts 3 days after [T3]'s end with green dashed link
@endgantt

Is this what you are looking for ?

commented Aug 26, 2020 by The-Lu (63,920 points)

Hello PlantUML team,

It's a good start, but...wink

1/ How to change "the arrow from milestone 'P_end'" of the first example of the wanted feature:


[Click to see on PlantUML server]

or now adapted from /11911 of:


[Click...]

2/ Will be possible to change color (or thickness, or style) of arrows, in gantt diagram with [beta] style?

Thanks for yours works,
Regards,
Th.

commented Jan 8, 2021 by Nordes

Hi there, I've done a PR regarding the coloring of the arrow.

#437-Implement arrow style color by Nordes · Pull Request #438 · plantuml/plantuml (github.com)

Somehow, I am having trouble adding answer + picture here. Just go in the github issue to see the result.

asked Apr 27, 2021 in Bug by The-Lu (63,920 points) [Gantt] Colored links broken on last version
...