Autonomic Nervous System
Diabetes can affect the autonomic nerves that can lead to various sexual problems. The ANS is responsible for changing the radius of blood vessels. It either constricts or broadens them. This can be a probable cause of ED if it affects the vessels in the penis. It can also slow the flow of blood in your penis.