Dislocation patterns in graphite