mermaid gantt图使用指南

gantt

title

图标题,关键词title

dateFormat

输入时间格式, YYYY-MM-DD

axisFormat

输出时间格式,显示在时间轴上的格式

section

关键词section,section包含多个任务

task

任务描述 : 状态(可缺省),任务名称(可缺省),开始时间,持续时长(或结束时间)

milestone

关键词milestone

state

状态描述
done完成
active激活,进行中
default尚未实施
crit关键任务(可以与其他状态复用)

todayMarker

todayMarker on/off

excludes

排除的日期
accepts specific dates in YYYY-MM-DD format, days of the week (“sunday”) or “weekends”, but not the word “weekdays”.

example

gantt
	dateFormat YYYY-MM-DD
    title A Gantt Diagram
    section SectionOne
    initial  milestone    :milestone, m1, 2022-03-06
    task one                 :done, a1, 2022-03-01, 10day
    task two                :active, a2, after a1, 3day
    second milestone  :milestone, m2, 2022-03-12
    section SectionTwo
    task one                :2022-03-12, 12d
    task two               : 24d
Mon 07 Mon 14 Mon 21 Mon 28 Mon 04 Mon 11 initial milestone task one task two second milestone task one task two SectionOne SectionTwo A Gantt Diagram
  • 1
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值