> The preferred solution to having multiple types of nodes in the same tree is to use an enum
That's not really a great option for a widget library, because it means no custom widgets.
That's not really a great option for a widget library, because it means no custom widgets.