Add a comment about a possible problem.
Only perform polyline rerouting test for polyline connectors.
Use correct connector directions when rewriting hyperedges.