In the end of GraphListS.ccp there is a slightly more efficient but more memory consuming Diameter() commented.