Text this: Improved defect analysis based on atomic connectivity in polycrystalline materials.