Handling the rendering of tree edges