Can I create a widget where every new entry builds unique entries in a struct?

Hello.

I’m trying to create a type of “skilldrasil” system, something like what can be seen in Path of Exile. The idea that I came up with to do this in a simple way was to create a struct that contains all the types of variables needed to create a node and to declare it’s connections etc.

Can I somehow create this visually, like a widget/umg, so that it will automatically fill in those structs?

Any help appreciated.

Thanks!