@@ -65,25 +65,28 @@ internal class GraphReportTaskTest : BaseGradleTest() {
65
65
app.projectDir.child(
66
66
" build" , " reports" , " modulecheck" , " graphs" , " main.dot"
67
67
) shouldHaveText """
68
- strict digraph DependencyGraph {
69
- ratio = 0.5625;
70
- node [style = "rounded,filled" shape = box];
71
-
72
- labelloc = "t"
73
- label = ":app -- main";
74
-
75
- ":app" [fillcolor = "#F89820"];
76
- ":lib1" [fillcolor = "#F89820"];
77
- ":lib2" [fillcolor = "#F89820"];
78
-
79
- ":app" -> ":lib1" [style = bold; color = "#007744"];
80
- ":app" -> ":lib2" [style = bold; color = "#007744"];
81
-
82
- ":lib2" -> ":lib1" [style = bold; color = "#007744"];
83
-
84
- { rank = same; ":lib1"; }
85
- { rank = same; ":lib2"; }
86
- { rank = same; ":app"; }
68
+ strict digraph {
69
+ edge ["dir"="forward"]
70
+ graph ["ratio"="0.5625","rankdir"="TB","label"=<<b>:app -- main</b>>,"labelloc"="t"]
71
+ node ["style"="rounded,filled","shape"="box"]
72
+ {
73
+ edge ["dir"="none"]
74
+ graph ["rank"="same"]
75
+ ":lib1" ["fillcolor"="#F89820"]
76
+ }
77
+ {
78
+ edge ["dir"="none"]
79
+ graph ["rank"="same"]
80
+ ":lib2" ["fillcolor"="#F89820"]
81
+ }
82
+ {
83
+ edge ["dir"="none"]
84
+ graph ["rank"="same"]
85
+ ":app" ["fillcolor"="#F89820"]
86
+ }
87
+ ":app" -> ":lib2" ["arrowhead"="normal","style"="bold","color"="#FF6347"]
88
+ ":app" -> ":lib1" ["arrowhead"="normal","style"="bold","color"="#FF6347"]
89
+ ":lib2" -> ":lib1" ["arrowhead"="normal","style"="bold","color"="#FF6347"]
87
90
}
88
91
"""
89
92
}
0 commit comments