Added toolbar buttons to switch between direct and hierarchial
connections.