Creating dropdowns in UK2Nodes?

Does anyone know how to create custom dropdown selection boxes in UK2Nodes?
I have looked into the source code for UK2Node_EnumEquality and UK2Node_GetDataTableRow which both have this feature but I can’t seem to locate the code resposnsible.
I found this post which mentions CreateVisualWidget() but this is not used in any of the above classes.

Hello! You can check this https://github.com/EpicGames/UnrealEngine/blob/4.26/Engine/Source/Editor/GraphEditor/Private/KismetPins/SGraphPinEnum.cpp

I actually found a solution. The drop down is defined separately usings a subclass of SGraphPinNameList and a FGraphPanelPinFactory. I will probably make a blog post about the process later.