Octagonal defect lines in graphene structures