On my flight today, I encountered total electric failure and therefore lost the ability to communicate with radios. Luckily I was already in talks with flight following and seconds before losing communications, I told them we would be diverting to a nearby delta airspace airport and we were...