Looking for binary tree visualizer Linux

I'm parsing an xml document, and putting it in a binary tree based on how different parts relate to each other. The only thing is the nodes aren't going in in the right order, causing nodes to be missed while searching. I think a visualization tool could help fix this. Anyone know of Linux software that can draw nodes and their connections?