#330 Fixed tree layout: assigned correct values to graph nodes