|
| 1 | +digraph G { |
| 2 | + newrank=true; |
| 3 | + rankdir=LR; |
| 4 | + splines=ortho; |
| 5 | + overlap=false; |
| 6 | + nodesep=0.5; |
| 7 | + ranksep=0.5; |
| 8 | + concentrate=true; |
| 9 | + graph [bgcolor="#f9f9f9", color="#888888", penwidth=2, fontname="Arial"]; |
| 10 | + node [fontname="Arial", fontsize=14, style=filled, margin="0.3,0.2"]; |
| 11 | + edge [fontname="Arial", fontsize=10, color="#555555", fontcolor="gray"]; |
| 12 | + subgraph cluster_1 { |
| 13 | + label="root"; |
| 14 | + style=filled; color="#5DADE2"; fillcolor="#5DADE220"; |
| 15 | + "n0" [label="root", shape=folder, fillcolor="#5DADE2", penwidth=1.5]; |
| 16 | + "n2" [label="cargo (.): Sun v0.0.1", shape=ellipse, fillcolor="#EB984E", penwidth=1.5]; |
| 17 | + "n1" [label="Cargo.toml", shape=note, fillcolor="#FADBD8", penwidth=1]; |
| 18 | + } |
| 19 | + |
| 20 | + "n0" -> "n1" [label="Contain", style=solid, color="blue", weight=2, arrowsize=0.8]; |
| 21 | + "n0" -> "n2" [label="Contain", style=solid, color="blue", weight=2, arrowsize=0.8]; |
| 22 | + subgraph cluster_legend { |
| 23 | + label="Legend"; fontsize=14; style=dashed; color=gray; |
| 24 | + "dir" [label="Directory", shape=folder, fillcolor="#5DADE2"]; |
| 25 | + "file" [label="File", shape=note, fillcolor="#FADBD8"]; |
| 26 | + "pkg" [label="Package", shape=ellipse, fillcolor="#EB984E"]; |
| 27 | + "ext" [label="External", shape=trapezium, fillcolor="#EC7063"]; |
| 28 | + "dir" -> "file" [label="Contain", style=solid, color=blue]; |
| 29 | + "pkg" -> "ext" [label="Dependency", style=dashed, color=red]; |
| 30 | + } |
| 31 | +} |
0 commit comments