add hierarchy to detailed display for components