Select parent by clicking selected nodes