Graphical spanning tree (binary tree Huffman tree and minimal tree)