working on weighted elements in Tree drawing