add hover tooltip for connection and text for collapsed view