Carbon can form very different extended structures. Diamond has a three-dimensional bonded network, while graphite consists of strongly bonded sheets with weaker interactions between sheets.
Diamond is represented by a carbon with four neighbours in a projected tetrahedral arrangement. Graphite fragments show three in-plane bonds per displayed carbon, with cut boundary bonds. Dashed links denote weaker interlayer interactions, not extra covalent bonds.