如何将PlantUML甘特图里程碑文本置于菱形左侧?
PlantUML甘特图:将里程碑文本放置在菱形左侧
可以实现这个需求,PlantUML甘特图支持通过left关键字指定里程碑文本显示在图形左侧,直接修改代码即可:
@startgantt [Prototype design] lasts 1 weeks then [Prototype completed] lasts 4 days [End Prototype completed] happens at [Prototype completed]'s end then [Test prototype] lasts 5 days [End Test prototype] happens at [Test prototype]'s end left [Prototype completed] is deleted [End Prototype completed] is deleted @endgantt
只需在目标里程碑的定义末尾添加left关键字,就能让“End Test prototype”文本显示在最后一个菱形里程碑的左侧,从而缩减甘特图的横向宽度,提升可读性。
内容的提问来源于stack exchange,提问作者a.t.
相关产品推荐
相关产品推荐

