In the atomic structure of diamond, each carbon is bonded to four other carbons using all of its outer electrons, leaving none free to carry a charge. In graphite not all of the electrons are used in bonding, therefore the delocalised electrons are free to move through the structure, carrying a charge.