deps.dot.tmpl 321 B

123456789101112131415
  1. digraph deps {
  2. rankdir = "LR";
  3. node [shape="rect"];
  4. {{- range $node := . }}
  5. "{{ $node.ID }}" [label="{{ $node.ID }}\n{{ $node.Path }}"];
  6. {{- end }}
  7. edge [color=silver];
  8. {{- range $node := . }}
  9. {{- range $link, $_ := $node.Links }}
  10. "{{ $node.ID }}" -> "{{ $link }}"
  11. {{- end }}
  12. {{- end }}
  13. }