Wiring diagrams are prepared with #QElectroTech, because I refuse to include non-free tools in my workflow :)
I always prepare drawings such that the exact wire connections between device terminals are shown unambiguously (this is called "Zielverdrahtung" or "Zwangsverdrahtung" in german).
The bill of materials from these drawings was then the input for the panel layout shown earlier.