Power-law graphs with small diameter: Framework, structural properties, and average trapping time