Almost same as sourimd/BSTRepresentationUsingGraphViz. But here I have arrows pointing to parent nodes as well. Take a look at treewithparent.png,, you will understand what I am talking about..