Gantt chart 在mermaid中将甘特图任务设置为截止日期之前的相对日期
我正在使用mermaid js生成甘特图。在中,它显示了如何使用“x之后”设置与先前任务完成相关的任务,例如:Gantt chart 在mermaid中将甘特图任务设置为截止日期之前的相对日期,gantt-chart,mermaid,Gantt Chart,Mermaid,我正在使用mermaid js生成甘特图。在中,它显示了如何使用“x之后”设置与先前任务完成相关的任务,例如: section A section Completed task :done, des1, 2014-01-06,2014-01-08 Active task :active, des2, 2014-01-09, 3d Future task : des3, afte
section A section
Completed task :done, des1, 2014-01-06,2014-01-08
Active task :active, des2, 2014-01-09, 3d
Future task : des3, after des2, 5d
Future task2 : des4, after des3, 5d
在随后的截止日期之前将任务设置为,是否有任何等价物?我尝试将“after”替换为“before”,但没有成功。对,mermaid语法不支持“before”限定符,只支持“after”限定符
在.
中描述了一些要考虑的选项。title Example Gantt diagram
dateFormat YYYY-MM-DD
section Team 1
Research & requirements :done, a1, 2020-03-08, 2020-04-10
Review & documentation : after a1, 20d
section Team 2
Implementation :crit, active, 2020-03-25 , 20d
Testing :crit, 20d