digraph blockchain { size="6.25"; //splines = "false"; rankdir=LR; //ranksep=0.1; //splines=ortho; overlap = false; nodesep = 0.1; node [ fontname="Sans", shape = box, penwidth = 1.75 ]; edge [ fontname="Sans", penwidth = 1.75, minlen = 2 ]; graph [ fontname="Sans" ]; penwidth = 1.75; subgraph cluster_tx2 { scriptSig [ label = "Signature Script", shape = "none" ]; tx2_signature [ label = "Signature" ]; tx2_full_public_key [ label = "Full Public Key" ]; script [ label = " \nPubkey Script", shape = "none" ]; tx2_pubkey_hash [ label = "Public Key Hash" ]; } subgraph cluster_tx1 { tx1_pubkey_hash [ label = "Public Key Hash" ]; label = "TX 1 Output" } subgraph cluster_bob { private_key [ label = "Private Key" ]; full_public_key [ label = "Full Public Key" ]; label = "Bob's Computer" } tx1_pubkey_hash -> tx2_pubkey_hash; { edge [ arrowhead = "none", arrowtail = "normal", dir=both ] tx2_full_public_key -> full_public_key; tx2_signature -> private_key [ style = "dashed" ]; } label = " \nSpending A P2PKH Output" }