adds id to node parent class. fix visualizatintree undefined children
function. bit improvement in labels for plot