Worked out a few bugs with the graph drawing. Root now selected as selection-1 so user can see which node they selected as root.