Right now this is only possible by directly editing the mod files. Other than directly editing the sprite image files, you need to adjust the sprite offsets and hitboxes of the factory building entities (in factory.lua) and corresponding helper entities (in component.lua), and you'll also need to edit layout.lua to move all the outside connector locations to their proper offsets.