Add GraphUtil::addEdge() that copies polyLine as well.