Both wires run to the CDI, the green ones appears to split into two after the CDI, one running to the altenator and the other to the ignition. The Yellow passes through the CDI before splitting into three wires and running to the altenator.
So it's black with white (+) to the green?