From 8f63245b5c8cef562453aaef579cd9d6b850549f Mon Sep 17 00:00:00 2001 From: Chris Krycho Date: Mon, 7 Oct 2024 12:47:44 -0600 Subject: [PATCH] Ch. 17: fix task names in Figure 17-2 --- dot/trpl17-02.dot | 18 +++++++++--------- src/img/trpl17-02.svg | 6 +++--- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/dot/trpl17-02.dot b/dot/trpl17-02.dot index 07d66a3e4b..3e4116a7de 100644 --- a/dot/trpl17-02.dot +++ b/dot/trpl17-02.dot @@ -1,25 +1,25 @@ digraph { dpi = 300.0; - + rankdir = "LR"; splines = false; cluster = true; - + node [shape = diamond;]; - + // The graphs end up with the correct order, i.e. Task 1 *above* Task 2, when // this is first. subgraph cluster_ColleagueB { - label = "Task 2"; + label = "Task B"; B1 -> B2 -> B3; - + B0 [style = invis;]; - B3 -> B0 [style = invis;] + B3 -> B0 [style = invis;]; } - + subgraph cluster_ColleagueA { newrank = true; - label = "Task 1"; + label = "Task A"; A1 -> A2 -> A3 -> A4; } -} +} \ No newline at end of file diff --git a/src/img/trpl17-02.svg b/src/img/trpl17-02.svg index b2df090c23..5c32a1a262 100644 --- a/src/img/trpl17-02.svg +++ b/src/img/trpl17-02.svg @@ -1,7 +1,7 @@ - cluster_ColleagueB -Task 2 +Task B cluster_ColleagueA -Task 1 +Task A