How to create collapsed nodes without generating duplicate pins?

I’m not sure why UE does this, but if you collapse several nodes referencing the same pin it just duplicates it like crazy. There’s no way that I’ve seen to automate cleaning this up so it’s making it a ton of work the organize my BPs. Below is an example.

Before Collapse

After Collapse

I have to manually clean all the duplicate references to Projectile and Hit. It also completely messes with the enter pin order. Is there a plugin maybe that can make this less annoying to deal with? I’d really like to be able to organize more cleanly in collapsed nodes.

The easiest way that I’ve found to do it is using a reroute node. Introduce a reroute node between the pin that would remain outside the collapse, and the pins that will be on the inside. Then make sure to include the reroute in the collapse. Then you can easily move pins from the reroute node to the collapsed node inputs.

That’s unfortunate. Guess I’ll just keep things uncollapsed as that’s a lot of manual clean up I really don’t want to have to do.

It shouldn’t really be that much. Do you know you can drag connections from one pin to another by holding down Ctrl while dragging from one pin?

So you’d create a reroute node. Ctrl-drag all the connections from your delegate param pin to the reroute node. Then connect the delegate param pin to the reroute. Then collapse.