digraph configurations {
    rankdir = BT;
   graph [ dpi = 100, fontname="Sans"];
   node [fontname = "Sans"];
   edge [fontname = "Sans"];

   "apiElements" [shape="box", label=<<B>apiElements</B>(C)>, color="pink", bgcolor="pink", style="filled"]
   "apiElements" -> "api"

   "api" [shape="box", label=<<B>api</B>>, color="chartreuse3", bgcolor="chartreuse3", style="filled"]

   "compileClasspath" [shape="box", label=<<B>compileClasspath</B>(R)>, color="lightblue", bgcolor="lightblue", style="filled"]
   "compileClasspath" -> "compileOnly"
   "compileOnly" [shape="box", label=<<B>compileOnly</B>(C, R)>, ]
   "compileClasspath" -> "implementation"
   "implementation" [shape="box", label=<<B>implementation</B>>, color="chartreuse3", bgcolor="chartreuse3", style="filled"]
   "implementation" -> "api"

   "runtimeClasspath" [shape="box", label=<<B>runtimeClasspath</B>(R)>, color="lightblue", bgcolor="lightblue", style="filled"]
   "runtimeClasspath" -> "runtimeOnly"
   "runtimeOnly" [shape="box", label=<<B>runtimeOnly</B>>, color="chartreuse3", bgcolor="chartreuse3", style="filled"]
   "runtimeClasspath" -> "implementation"
   "runtimeElements" [shape="box", label=<<B>runtimeElements</B>(C)>, color="pink", bgcolor="pink", style="filled"]
   "runtimeElements" -> "implementation"
   "runtimeElements" -> "runtimeOnly"

}
