ADded tick box for only drawing leaf nodes