Try the treeview widget: https://marketplace.mendix.com/link/component/112707
Or a little more complex the graph editor: https://marketplace.mendix.com/link/component/98525
Regards,
Ronald
well If you are also OK with top down org tree structure – you may check this: https://marketplace.mendix.com/link/component/121071