Diamond is bad conductor of electricity because all valence e of carbon are involved in bonding. In graphite however 3 out of 4 valence electrons are involved in bonding, fourth electron remains free between adjacent layers which makes it a good conductor. Graphite is soft because parallel layers are held together by week van der Waals force. However, diamond is hard due to compact three-dimensional network of bonding.