digraph merkle_tree {
    splines=ortho;
    node [shape=box, style="filled", color="black", fontcolor="black", fillcolor="white"];

    "Public Key" -> "Merkle Root"
    "Merkle Root" -> "Hash A";
    "Merkle Root" -> "Hash B";
    "Hash A" -> "A";
    "Hash B" -> "B";

    "Merkle Root" [label="Merkle Root"];
    "Hash A" [label="Hash A"];
    "Hash B" [label="Hash B"];
    "B" [label="Script 0"];
    "A" [label="Script 1"];
}