fix path extraction
calculate graph properties: eccentricity, diameter, radius, center