Help, how to make a system of *connecting* objects?

Hello, for my game I need a system of connecting objects, does anyone know what it is called and how to implement it, below I will attach a screenshot of what kind of system this is.


upd

Get chat GPT (or any other deep ai thingy).

Explain in your language what you need. And ask it to do summary in English.

Then either copy that here, or use keywords from summary to google, or just ask derpy derp ai for solution.

However with solution be careful derpy derp aiis love to make up “facts” , so double check anything more than just keywords for google.