uccser/cs-field-guide

View on GitHub
csfieldguide/static/img/chapters/huffman-tree-dna-building-3.txt

Summary

Maintainability
Test Coverage
Dot notation for image, created with viz-js.com

digraph G {
  graph [ranksep=0,bgcolor=transparent];
  node [shape=Mrecord];
  a [label="{2|a}"];
  g [label="{1|g}"];
  c [label="{3|c}"];
  t [label="{7|t}"];
  3 -> a [label=0];
  3 -> g [label=1];
  6 -> 3 [label=1];
  6 -> c [label=0];
  13 -> t [label=1];
  13 -> 6 [label=0];
}