{
for (RectangleWithRef<Vertex,?> vertex : nodeMapping.values())
{
int equalityDistance = 5;
if (line.intersects(vertex)
&& !(line.startsWith(vertex.getCenter(), equalityDistance) || (line
.endsWith(vertex.getCenter(), equalityDistance))))
{
// determine which diagonale part is intersected and add another
// point to the polyline
Line2D.Double diagonalePart = vertex.getUpperLeftDiagonaleLine();