With the various components of the question you ask, you have three separate "systems" and you should think of each separately.
First you have the lighting circuit. Hot, neutral, switches, etc. I assume you are well versed in that, including three way, four way switches etc.
Second you have the lighting control system. Think of this as independent of the above. You usually have a power pack, which takes line voltage (doesn't need to be the same circuit as the lights but usually is). The power pack contains a relay that will interrupt power in the switch leg from the above, just before it enters the first light fixture. All the rest is independent and is usually low voltage wiring running to occupancy sensors, daylight sensors, photocells and/or low voltage switches, etc. Note that this is one basic way it it done, this can have many different configurations.
Third is you 0-10V dimming. There are two different types of 0-10v dimming source and sink. In source the 0-10V is generated from the dimmer "switch". In sink the 0-10v is generated by each and every driver. Most of us will be working on current sink systems, so I will address those. Remember this is all independent of the above systems. Each driver provides approximately 0-10V. They all get hooked up in parallel with each other with the purple and pink wires. When the two wires are shorted together, it "sinks" the voltage and all the lights go dim. This system is a loop of the purple and the grey through all of the dimmed lights and the dimmer on the dimming circuit, so you can have more than one lighting circuit or switch leg (this is a closed system it only connects to the drivers and the dimmer). For example, you can have lights fed from both the normal and emergency systems in a room all controlled from the same dimmer. The 0-10V generated by each driver is a class II power source. So, it is run with separation from the power wiring. It can be reclassified per Article 700 of the NEC as class I and technically you have to go to every driver and black out the reference to a class II power supply, but thankfully, I have yet to see an inspector look for or require this. I am not going to go in the the class I class II further. Read else where in this forum if you want to know more.
Hope this helps.