Added code to support 'gluing' associated ports together into a common visual block, to represent adapters.