You shouldn't need a diagram. The DC negative is connected on the boat to the AC ground (green) wire. It is DC stray current that causes corrosion.
Maybe I understand what you are saying now but dont think it addresses why marina green wires have current on them.
AC green is connected to the boats DC (leaving out the details of a transformer or isolation diodes). Now in order for this to cause current on the green wire, the battery DC (ie, 12 volts) must be connected to the water. No other way to cause this. If you know of a different way, please post (I have a MS in EE so will likely understand it).
So somehow for your case, you need some device that has a bare metal structure on it that is at 12 volts and its in the water.. and this puts some current on the green wire because the battery negative is connected to the green wire.. call this case 1 This might put some milli amps on the green wire.
And... then there is the more obvious case of someone not correctly wiring the AC and using the green wire for part of the AC return. If the AC is running an air conditioner, this can put AMPS on the green wire. The current on the green wire came from the AC hot - so now the AC hot and neutral are no longer balanced (which trips ELCI). call this case 2.
Case 1 is not likely, only puts a tiny amount of current on the green wire. Case 2 is very likely, puts a huge amount of current on the green wire.
Case 1 (which doesnt really matter) doesnt trip ELCI. Case 2 (which is really the problem), does trip ELCI.