Improved defect analysis based on atomic connectivity in polycrystalline materials | Synapse