Setting up your networking cables parallel to electric cables can disturb the magnetic field of the cables and cause major disruptions. You can also end up losing transmission at times or very slow communication between the wires taking place.
So deciding your cable path, therefore, is very important rather than just going randomly about it. You certainly don’t want your cables stretching hard to reach out to their destination connectors. So, the best way to go about it is to measure the exact distance of your connections and take just about a few inches more for ease. Don’t cut them too short.