You can cut unwanted though unavoidable line crossings using the Cut/Join tool to improve the appearance.
FBD Editor:
LAD Editor:
UDF Editor
Note that UDF blocks do not support inputs, outputs, analog inputs, analog outputs, M8, M25, M26, M27, shift registers, the data log or message text function blocks.
You have now completed your circuit program. Verify all connections once again and configure the block parameters to suit your requirements.