code formatting for radial tree