首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >PlantUML可交付/里程碑未位于里程碑末尾

PlantUML可交付/里程碑未位于里程碑末尾
EN

Stack Overflow用户
提问于 2022-09-07 00:19:34
回答 1查看 30关注 0票数 1

我将在活动结束时指定一个里程碑,包括:

代码语言:javascript
复制
[<size:30>Platform Planning Buffer] as [1_3] lasts 30 days
[<size:30>First Customer Usage - first_customer_usage] as [first_customer_usage] happens at [1_3]'s end

然而,它位于该活动开始之前的某个地方(在紫色和黄色之间的一条新线上):

我认为这是因为具体的活动没有后续行动。

完整的UML文件是:

代码语言:javascript
复制
@startgantt
project starts the 2022/10-01
saturday are closed
sunday are closed
skinparam classFontSize 100

[<size:30>Develop protocol] as [0] lasts 120 days
[<size:30>On-chain: Solidty+VRF] as [0_0] lasts 60 days
[<size:30>Git integration: Tellor] as [0_1] lasts 90 days
[<size:30>Git integration: Chainlink] as [0_2] lasts 90 days
[<size:30>Support all languages - support_all_languages] as [support_all_languages] happens at [0_2]'s end
[<size:30>Alternative Chains] as [0_3] lasts 90 days
[<size:30>(Decentralised) Continuous integration] as [0_2_0] lasts 30 days
[<size:30>Security & Robustness] as [0_2_1] lasts 60 days

[<size:30>Platform & ecosystem] as [1] lasts 120 days
[<size:30>Website] as [1_0] lasts 50 days
[<size:30>API] as [1_0_0] lasts 50 days
[<size:30>GUI] as [1_0_1] lasts 50 days
[<size:30>Forum] as [1_0_2] lasts 10 days
[<size:30>Marketing platform] as [1_1] lasts 30 days
[<size:30>Subsidize bounties] as [1_2] lasts 10 days
[<size:30>Platform Planning Buffer] as [1_3] lasts 30 days
[<size:30>First Customer Usage - first_customer_usage] as [first_customer_usage] happens at [1_3]'s end

[<size:30>Launch company] as [2] lasts 150 days
[<size:30>Qualitative partner research] as [2_0] lasts 20 days
[<size:30>Establish organisation] as [2_1] lasts 80 days
[<size:30>Auditing] as [2_1_0] lasts 10 days
[<size:30>Hiring] as [2_1_1] lasts 20 days
[<size:30>Administration] as [2_1_2] lasts 10 days
[<size:30>Legal] as [2_1_3] lasts 20 days
[<size:30>Financial] as [2_1_4] lasts 20 days
[<size:30>Marketing] as [2_2] lasts 30 days
[<size:30>Organisation Planning Buffer ] as [2_3] lasts 20 days

[0_0] starts at [0]'s start
[0_1] starts at [0]'s start
[0_2] starts at [0]'s start
[0_3] starts at [0]'s start
[0_2_0] starts at [0_3]'s end
[0_2_1] starts at [0_2_0]'s end
[1] starts at [0]'s start

[1_0] starts at [1]'s start
[1_1] starts at [1_0]'s end
[1_2] starts at [1_1]'s end
[1_3] starts at [1_2]'s end
[1_0_0] starts at [1_0]'s start
[1_0_1] starts at [0]'s start
[1_0_2] starts at [0]'s start
[2] starts at [0]'s start

[2_0] starts at [2]'s start
[2_1] starts at [2_0]'s end
[2_2] starts at [2_1]'s end
[2_3] starts at [2_2]'s end
[2_1_0] starts at [2_1]'s start
[2_1_1] starts at [2_1_0]'s end
[2_1_2] starts at [2_1_1]'s end
[2_1_3] starts at [2_1_2]'s end
[2_1_4] starts at [2_1_3]'s end

[0]  is colored in Green
[0_0]  is colored in Green
[0_1]  is colored in Green
[0_2]  is colored in Green
[0_3]  is colored in Green
[0_2_0]  is colored in Green
[0_2_1]  is colored in Green


[1]  is colored in DarkOrchid
[1_0]  is colored in DarkOrchid
[1_0_0]  is colored in DarkOrchid
[1_0_1]  is colored in DarkOrchid
[1_0_2]  is colored in DarkOrchid
[1_1]  is colored in DarkOrchid
[1_2]  is colored in DarkOrchid
[1_3]  is colored in DarkOrchid


[2]  is colored in Yellow
[2_0]  is colored in Yellow
[2_1]  is colored in Yellow
[2_1_0]  is colored in Yellow
[2_1_1]  is colored in Yellow
[2_1_2]  is colored in Yellow
[2_1_3]  is colored in Yellow
[2_1_4]  is colored in Yellow
[2_2]  is colored in Yellow
[2_3]  is colored in Yellow


'[Develop protocol]  takes: 120[days] equating to:960[hours] and costs:0 per hour, yielding activity costs:0 Euros.
'[On-chain: Solidty+VRF]  takes: 60[days] equating to:480[hours] and costs:76 per hour, yielding activity costs:36480 Euros.
'[Git integration: Tellor]  takes: 90[days] equating to:720[hours] and costs:76 per hour, yielding activity costs:54720 Euros.
'[Git integration: Chainlink]  takes: 90[days] equating to:720[hours] and costs:76 per hour, yielding activity costs:54720 Euros.
'[Alternative Chains]  takes: 90[days] equating to:720[hours] and costs:76 per hour, yielding activity costs:54720 Euros.
'[(Decentralised) Continuous integration]  takes: 30[days] equating to:240[hours] and costs:76 per hour, yielding activity costs:18240 Euros.
'[Security & Robustness]  takes: 60[days] equating to:480[hours] and costs:76 per hour, yielding activity costs:36480 Euros.


'[Platform & ecosystem]  takes: 120[days] equating to:960[hours] and costs:41 per hour, yielding activity costs:39360 Euros.
'[Website]  takes: 50[days] equating to:400[hours] and costs:41 per hour, yielding activity costs:16400 Euros.
'[API]  takes: 50[days] equating to:400[hours] and costs:41 per hour, yielding activity costs:16400 Euros.
'[GUI]  takes: 50[days] equating to:400[hours] and costs:41 per hour, yielding activity costs:16400 Euros.
'[Forum]  takes: 10[days] equating to:80[hours] and costs:41 per hour, yielding activity costs:3280 Euros.
'[Marketing platform]  takes: 30[days] equating to:240[hours] and costs:41 per hour, yielding activity costs:9840 Euros.
'[Subsidize bounties]  takes: 10[days] equating to:80[hours] and costs:41 per hour, yielding activity costs:3280 Euros.
'[Platform Planning Buffer]  takes: 30[days] equating to:240[hours] and costs:41 per hour, yielding activity costs:9840 Euros.


'[Launch company]  takes: 150[days] equating to:1200[hours] and costs:36 per hour, yielding activity costs:43200 Euros.
'[Qualitative partner research]  takes: 20[days] equating to:160[hours] and costs:36 per hour, yielding activity costs:5760 Euros.
'[Establish organisation]  takes: 80[days] equating to:640[hours] and costs:36 per hour, yielding activity costs:23040 Euros.
'[Auditing]  takes: 10[days] equating to:80[hours] and costs:36 per hour, yielding activity costs:2880 Euros.
'[Hiring]  takes: 20[days] equating to:160[hours] and costs:36 per hour, yielding activity costs:5760 Euros.
'[Administration]  takes: 10[days] equating to:80[hours] and costs:36 per hour, yielding activity costs:2880 Euros.
'[Legal]  takes: 20[days] equating to:160[hours] and costs:36 per hour, yielding activity costs:5760 Euros.
'[Financial]  takes: 20[days] equating to:160[hours] and costs:36 per hour, yielding activity costs:5760 Euros.
'[Marketing]  takes: 30[days] equating to:240[hours] and costs:36 per hour, yielding activity costs:8640 Euros.
'[Organisation Planning Buffer ]  takes: 20[days] equating to:160[hours] and costs:36 per hour, yielding activity costs:5760 Euros.

[<size:30>Complete CI deployment - complete_ci_deployment] as [complete_ci_deployment] happens  2022-12-01
@endgantt

问题

如何确保交付品/里程碑实际上位于活动结束时(而不手动计算活动的结束日期)?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2022-09-07 01:25:57

我不确定它是一个bug还是一个特性,但我认为当它声明时的里程碑是错误计算它的日期,可能是因为其他日期还没有被计算出来。

修复方法是将其“持续时间”(这是里程碑的一种攻击)定义为0,并像以前一样将其as [name]定义为0。

代码语言:javascript
复制
[<size:30>First Customer Usage - first_customer_usage] as [first_customer_usage] lasts 0 days

稍后,在指定其他依赖项链接之后,可以使用其as引用指定其日期。

代码语言:javascript
复制
[first_customer_usage] happens at [1_3]'s end

结果如下:

代码语言:javascript
复制
@startgantt
project starts the 2022/10-01
saturday are closed
sunday are closed
skinparam classFontSize 100

[<size:30>Develop protocol] as [0] lasts 120 days
[<size:30>On-chain: Solidty+VRF] as [0_0] lasts 60 days
[<size:30>Git integration: Tellor] as [0_1] lasts 90 days
[<size:30>Git integration: Chainlink] as [0_2] lasts 90 days
[<size:30>Support all languages - support_all_languages] as [support_all_languages] happens at [0_2]'s end
[<size:30>Alternative Chains] as [0_3] lasts 90 days
[<size:30>(Decentralised) Continuous integration] as [0_2_0] lasts 30 days
[<size:30>Security & Robustness] as [0_2_1] lasts 60 days

[<size:30>Platform & ecosystem] as [1] lasts 120 days
[<size:30>Website] as [1_0] lasts 50 days
[<size:30>API] as [1_0_0] lasts 50 days
[<size:30>GUI] as [1_0_1] lasts 50 days
[<size:30>Forum] as [1_0_2] lasts 10 days
[<size:30>Marketing platform] as [1_1] lasts 30 days
[<size:30>Subsidize bounties] as [1_2] lasts 10 days
[<size:30>Platform Planning Buffer] as [1_3] lasts 30 days
[<size:30>First Customer Usage - first_customer_usage] as [first_customer_usage] lasts 0 days

[<size:30>Launch company] as [2] lasts 150 days
[<size:30>Qualitative partner research] as [2_0] lasts 20 days
[<size:30>Establish organisation] as [2_1] lasts 80 days
[<size:30>Auditing] as [2_1_0] lasts 10 days
[<size:30>Hiring] as [2_1_1] lasts 20 days
[<size:30>Administration] as [2_1_2] lasts 10 days
[<size:30>Legal] as [2_1_3] lasts 20 days
[<size:30>Financial] as [2_1_4] lasts 20 days
[<size:30>Marketing] as [2_2] lasts 30 days
[<size:30>Organisation Planning Buffer ] as [2_3] lasts 20 days

[0_0] starts at [0]'s start
[0_1] starts at [0]'s start
[0_2] starts at [0]'s start
[0_3] starts at [0]'s start
[0_2_0] starts at [0_3]'s end
[0_2_1] starts at [0_2_0]'s end
[1] starts at [0]'s start

[1_0] starts at [1]'s start
[1_1] starts at [1_0]'s end
[1_2] starts at [1_1]'s end
[1_3] starts at [1_2]'s end
[1_0_0] starts at [1_0]'s start
[1_0_1] starts at [0]'s start
[1_0_2] starts at [0]'s start
[2] starts at [0]'s start

[2_0] starts at [2]'s start
[2_1] starts at [2_0]'s end
[2_2] starts at [2_1]'s end
[2_3] starts at [2_2]'s end
[2_1_0] starts at [2_1]'s start
[2_1_1] starts at [2_1_0]'s end
[2_1_2] starts at [2_1_1]'s end
[2_1_3] starts at [2_1_2]'s end
[2_1_4] starts at [2_1_3]'s end

[0]  is colored in Green
[0_0]  is colored in Green
[0_1]  is colored in Green
[0_2]  is colored in Green
[0_3]  is colored in Green
[0_2_0]  is colored in Green
[0_2_1]  is colored in Green


[1]  is colored in DarkOrchid
[1_0]  is colored in DarkOrchid
[1_0_0]  is colored in DarkOrchid
[1_0_1]  is colored in DarkOrchid
[1_0_2]  is colored in DarkOrchid
[1_1]  is colored in DarkOrchid
[1_2]  is colored in DarkOrchid
[1_3]  is colored in DarkOrchid


[2]  is colored in Yellow
[2_0]  is colored in Yellow
[2_1]  is colored in Yellow
[2_1_0]  is colored in Yellow
[2_1_1]  is colored in Yellow
[2_1_2]  is colored in Yellow
[2_1_3]  is colored in Yellow
[2_1_4]  is colored in Yellow
[2_2]  is colored in Yellow
[2_3]  is colored in Yellow

[first_customer_usage] happens at [1_3]'s end


'[Develop protocol]  takes: 120[days] equating to:960[hours] and costs:0 per hour, yielding activity costs:0 Euros.
'[On-chain: Solidty+VRF]  takes: 60[days] equating to:480[hours] and costs:76 per hour, yielding activity costs:36480 Euros.
'[Git integration: Tellor]  takes: 90[days] equating to:720[hours] and costs:76 per hour, yielding activity costs:54720 Euros.
'[Git integration: Chainlink]  takes: 90[days] equating to:720[hours] and costs:76 per hour, yielding activity costs:54720 Euros.
'[Alternative Chains]  takes: 90[days] equating to:720[hours] and costs:76 per hour, yielding activity costs:54720 Euros.
'[(Decentralised) Continuous integration]  takes: 30[days] equating to:240[hours] and costs:76 per hour, yielding activity costs:18240 Euros.
'[Security & Robustness]  takes: 60[days] equating to:480[hours] and costs:76 per hour, yielding activity costs:36480 Euros.


'[Platform & ecosystem]  takes: 120[days] equating to:960[hours] and costs:41 per hour, yielding activity costs:39360 Euros.
'[Website]  takes: 50[days] equating to:400[hours] and costs:41 per hour, yielding activity costs:16400 Euros.
'[API]  takes: 50[days] equating to:400[hours] and costs:41 per hour, yielding activity costs:16400 Euros.
'[GUI]  takes: 50[days] equating to:400[hours] and costs:41 per hour, yielding activity costs:16400 Euros.
'[Forum]  takes: 10[days] equating to:80[hours] and costs:41 per hour, yielding activity costs:3280 Euros.
'[Marketing platform]  takes: 30[days] equating to:240[hours] and costs:41 per hour, yielding activity costs:9840 Euros.
'[Subsidize bounties]  takes: 10[days] equating to:80[hours] and costs:41 per hour, yielding activity costs:3280 Euros.
'[Platform Planning Buffer]  takes: 30[days] equating to:240[hours] and costs:41 per hour, yielding activity costs:9840 Euros.


'[Launch company]  takes: 150[days] equating to:1200[hours] and costs:36 per hour, yielding activity costs:43200 Euros.
'[Qualitative partner research]  takes: 20[days] equating to:160[hours] and costs:36 per hour, yielding activity costs:5760 Euros.
'[Establish organisation]  takes: 80[days] equating to:640[hours] and costs:36 per hour, yielding activity costs:23040 Euros.
'[Auditing]  takes: 10[days] equating to:80[hours] and costs:36 per hour, yielding activity costs:2880 Euros.
'[Hiring]  takes: 20[days] equating to:160[hours] and costs:36 per hour, yielding activity costs:5760 Euros.
'[Administration]  takes: 10[days] equating to:80[hours] and costs:36 per hour, yielding activity costs:2880 Euros.
'[Legal]  takes: 20[days] equating to:160[hours] and costs:36 per hour, yielding activity costs:5760 Euros.
'[Financial]  takes: 20[days] equating to:160[hours] and costs:36 per hour, yielding activity costs:5760 Euros.
'[Marketing]  takes: 30[days] equating to:240[hours] and costs:36 per hour, yielding activity costs:8640 Euros.
'[Organisation Planning Buffer ]  takes: 20[days] equating to:160[hours] and costs:36 per hour, yielding activity costs:5760 Euros.

[<size:30>Complete CI deployment - complete_ci_deployment] as [complete_ci_deployment] happens  2022-12-01
@endgantt
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/73628867

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档