Made GraphLayout::doRejection return a boolean.