yEd's Excel Import offers the possibility to automatically apply a properties mapper configuration on import (see tab "Presentation").
If you use a configuration that sets the width of the node, there should be no need to redo any edges.
Even if you do not use such a configuration, there is still no need to manually fix any edges - just run the appropriate layout algorithm.
Furthermore, it is not necessary to manually change your label settings for label size and label configuration either. Instead, have your node configuration apply a properly configured node style. To do that
- Create a node.
- Configure said node's label settings as desired.
- Create a user-defined palette section.
- Add the configured node as a template to the user-defined palette section (right-click the node to open its context menu and choose "Add to Palette").
- Open the properties mapper.
- In your node configuration, set "Template" to "Single" and choose the palette template you just created.
- Use the configuration for Excel Import.
Again, if you do not use such a configuration, it is still possible to use a node style template as created in steps 1 to 4 above for Excel Import: Choose the desired palette template for option "Template" on tab "Presentation" of the Excel Import settings.
Unfortunately, yEd does not offer a way to dynamically increase the height of a node such that text wrapped for the node's width fits into the node's height.
I have to admit that I do not understand what you mean by "a macro to put char(10) where needed". I am not aware of any feature in yEd that knows what "char(10)" means.