add GUI tree-shape relationship