Hi,
if I want to build a binary search tree, I want to create simple sorting animation and for it to draw node with the numeric data, the problem I have is how to position the nodes to be looking like a tree because the more levels there are (depth), the more nodes occupy each level so I need to have longer left and right links to connect the children nodes but I'm not the best with math, it should be simple. But any simple suggestions would be appreciated.