PlantUML を使った UML の描き方 - PlantUML 言語リファレンスガイド(Version 1.2023.11)
{ } map task.1 { Start => End } map task.2 { Start => End } map task.3 { Start => End } map task.4 { Start => End } map task.5 { Start => End } Kick.Off --> task.1 : Label 1 Kick.Off --> task.2 : Label Label 2 Kick.Off --> task.3 : Label 3 task.1 --> task.4 task.2 --> task.4 task.3 --> task.4 task.4 --> task.5 : Label 4 @enduml [Ref. QA-12337] 4.8 Display JSON Data on Class or Object diagram 4.8.1 Simple タスクの期間は、動詞 last で指定します。 @startgantt [プロトタイプを設計] lasts 15 days [プロトタイプをテスト] lasts 10 days -- すべての例 -- [Task 1 (1日)] lasts 1 day [T2 (5日)] lasts 5 days [T3 (1週間)] lasts 1 week [T4 (1週間と4日)] lasts 1 week and0 码力 | 545 页 | 7.75 MB | 1 年前3PlantUML 1.2020.23 言語リファレンスガイド
@startgantt [Task1] lasts 4 days then [Task1.1] lasts 4 days [Task1.2] starts at [Task1]'s end and lasts 7 days [Task2] lasts 5 days then [Task2.1] lasts 4 days [最終完了日] happens at [Task1.1]'s end [最終完了日] [最終完了日] happens at [Task1.2]'s end [最終完了日] happens at [Task2.1]'s end @endgantt PlantUML 言語リファレンスガイド (1.2020.23) 154 / 305 10.8 ハイパーリンク 10 ガントチャート [Ref. QA-10764] 10.8 ハイパーリンク タスクにハイパーリンクを追加することもできます。 きます。 @startgantt [task1] lasts 10 days [task1] links to [[http://plantuml.com]] @endgantt 10.9 日付の表示 プロジェクトの開始日時に、特定の日付を指定できます。デフォルトでは、一番最初のタスクが指定 した日付から開始します。 @startuml Project starts the 20th of0 码力 | 306 页 | 3.19 MB | 1 年前3PlantUML を使った UML の描き方 - PlantUML 言語リファレンスガイド(Version 1.2020.22)
@startgantt [Task1] lasts 4 days then [Task1.1] lasts 4 days [Task1.2] starts at [Task1]'s end and lasts 7 days [Task2] lasts 5 days then [Task2.1] lasts 4 days [最終完了日] happens at [Task1.1]'s end [最終完了日] [最終完了日] happens at [Task1.2]'s end [最終完了日] happens at [Task2.1]'s end @endgantt PlantUML 言語リファレンスガイド (1.2020.22) 142 / 293 10.8 ハイパーリンク 10 ガントチャート [Ref. QA-10764] 10.8 ハイパーリンク タスクにハイパーリンクを追加することもできます。 きます。 @startgantt [task1] lasts 10 days [task1] links to [[http://plantuml.com]] @endgantt 10.9 日付の表示 プロジェクトの開始日時に、特定の日付を指定できます。デフォルトでは、一番最初のタスクが指定 した日付から開始します。 @startuml Project starts the 20th of0 码力 | 294 页 | 3.11 MB | 1 年前3PlantUML を使った UML の描き方 - PlantUML 言語リファレンスガイド(Version 1.2021.1)
タスクの期間は、動詞 last で指定します。 @startgantt [プロトタイプを設計] lasts 15 days [プロトタイプをテスト] lasts 10 days -- すべての例 -- [Task 1 (1日)] lasts 1 day [T2 (5日)] lasts 5 days [T3 (1週間)] lasts 1 week [T4 (1週間と4日)] lasts 1 week and @startgantt [Task1] lasts 4 days then [Task1.1] lasts 4 days [Task1.2] starts at [Task1]'s end and lasts 7 days [Task2] lasts 5 days then [Task2.1] lasts 4 days [最終完了日] happens at [Task1.1]'s end [最終完了日] [最終完了日] happens at [Task1.2]'s end [最終完了日] happens at [Task2.1]'s end @endgantt [Ref. QA-10764] 15.8 ハイパーリンク タスクにハイパーリンクを追加することもできます。 PlantUML 言語リファレンスガイド (1.2021.1) 243 / 392 15.9 日付の表示 15 ガントチャート0 码力 | 393 页 | 4.27 MB | 1 年前3PlantUML を使った UML の描き方 - PlantUML 言語リファレンスガイド(Version 1.2021.2)
タスクの期間は、動詞 last で指定します。 @startgantt [プロトタイプを設計] lasts 15 days [プロトタイプをテスト] lasts 10 days -- すべての例 -- [Task 1 (1日)] lasts 1 day [T2 (5日)] lasts 5 days [T3 (1週間)] lasts 1 week [T4 (1週間と4日)] lasts 1 week and @startgantt [Task1] lasts 4 days then [Task1.1] lasts 4 days [Task1.2] starts at [Task1]'s end and lasts 7 days [Task2] lasts 5 days then [Task2.1] lasts 4 days [最終完了日] happens at [Task1.1]'s end [最終完了日] [最終完了日] happens at [Task1.2]'s end [最終完了日] happens at [Task2.1]'s end @endgantt [Ref. QA-10764] 16.8 ハイパーリンク タスクにハイパーリンクを追加することもできます。 PlantUML 言語リファレンスガイド (1.2021.2) 249 / 398 16.9 日付の表示 16 ガントチャート0 码力 | 399 页 | 4.33 MB | 1 年前3PlantUML 1.2021.3 言語リファレンスガイド
タスクの期間は、動詞 last で指定します。 @startgantt [プロトタイプを設計] lasts 15 days [プロトタイプをテスト] lasts 10 days -- すべての例 -- [Task 1 (1日)] lasts 1 day [T2 (5日)] lasts 5 days [T3 (1週間)] lasts 1 week [T4 (1週間と4日)] lasts 1 week and @startgantt [Task1] lasts 4 days then [Task1.1] lasts 4 days [Task1.2] starts at [Task1]'s end and lasts 7 days [Task2] lasts 5 days then [Task2.1] lasts 4 days [最終完了日] happens at [Task1.1]'s end [最終完了日] [最終完了日] happens at [Task1.2]'s end [最終完了日] happens at [Task2.1]'s end @endgantt [Ref. QA-10764] 16.8 ハイパーリンク タスクにハイパーリンクを追加することもできます。 PlantUML 言語リファレンスガイド (1.2021.2) 261 / 411 16.9 日付の表示 16 ガントチャート0 码力 | 412 页 | 4.46 MB | 1 年前3JavaScript Promiseの本 v1
taskA(value){ // task A }).then(function taskB(value){ // task B }).catch(function onRejected(error){ console.error(error); 21 JavaScript Promiseの本 }); then で登録するコールバック関数をそれぞれtaskというものにした時に、 taskA taskA → task B という流れをPromiseのメソッドチェーンを使って書くことができます。 Promiseのメソッドチェーンだと長いので、今後はpromise chainと呼びます。 この promise chainがPromiseが非同期処理の流れを書きやすい理由の一つといえるかもし れません。 このセクションでは、 then を使ったpromise chainの挙動と流れについて学んでいきま console.log("Task A"); } function taskB() { console.log("Task B"); } function onRejected(error) { console.log("Catch Error: A or B", error); } function finalTask() { console.log("Final Task"); }0 码力 | 115 页 | 1.06 MB | 1 年前3JavaScript Promiseの本 v2
then((value) => { // task A }).then((value) => { // task B }).catch((error) => { console.error(error); 22 JavaScript Promiseの本 }); then で登録するコールバック関数をそれぞれtaskというものにした時に、 taskA → task B という流れをPromis console.log("Task A"); } function taskB() { console.log("Task B"); } function onRejected(error) { console.log("Catch Error: A or B", error); } function finalTask() { console.log("Final Task"); } then onFulfilledの処理を登録 catch onRejectedの処理を登録 図の方に注目してもらうと、 Task A と Task B それぞれから onRejected への線が出てい ることが分かります。 これは、Task A または Task B の処理にて、次のような場合に onRejected が呼ばれるとい うことを示しています。 • 例外が発生した時 •0 码力 | 137 页 | 1.17 MB | 1 年前3PlantUML 1.2019.6 言語リファレンスガイド
言語リファレンスガイド (1.2019.6) 102 / 173 10.8 Simplified task succession 10 ガントチャート [Test prototype] is colored in GreenYellow/Green @endgantt 10.8 Simplified task succession It's possible to use the then keyword can use -- to group tasks together. @startgantt [Task1] lasts 10 days then [Task2] lasts 4 days -- Phase Two -- then [Task3] lasts 5 days then [Task4] lasts 6 days @endgantt 10.10 Working with resources 言語リファレンスガイド (1.2019.6) 103 / 173 10.11 複雑な例 10 ガントチャート @startgantt [Task1] on {Alice} lasts 10 days [Task2] on {Bob:50%} lasts 2 days then [Task3] on {Alice:25%} lasts 1 days @endgantt 10.11 複雑な例 1 つのタスクに対して、and0 码力 | 174 页 | 1.99 MB | 1 年前3PlantUML 1.2019.4 言語リファレンスガイド
言語リファレンスガイド (1.2019.4) 102 / 167 10.8 Simplified task succession 10 ガントチャート [Test prototype] is colored in GreenYellow/Green @endgantt 10.8 Simplified task succession It's possible to use the then keyword can use -- to group tasks together. @startgantt [Task1] lasts 10 days then [Task2] lasts 4 days -- Phase Two -- then [Task3] lasts 5 days then [Task4] lasts 6 days @endgantt 10.10 Working with resources 言語リファレンスガイド (1.2019.4) 103 / 167 10.11 複雑な例 10 ガントチャート @startgantt [Task1] on {Alice} lasts 10 days [Task2] on {Bob:50%} lasts 2 days then [Task3] on {Alice:25%} lasts 1 days @endgantt 10.11 複雑な例 1 つのタスクに対して、and0 码力 | 168 页 | 1.90 MB | 1 年前3
共 20 条
- 1
- 2