Assume we have some symmetric Laplacian matrix $\mathbf{A} \in \mathbb{R}^{n\times n}$ with $rank(A) = n-1$.
Then, let us consider matrix $\mathbf{B} \in \mathbb{R}^{n+1\times n}$, which is matrix $\mathbf{A}$ with one more constant non zero row added.
Will we have then $rank(B) = n$? Below, I have a simple R code for the A matrix
$$ A = \begin{pmatrix} 2 & -1 & -1 \\ -1 & 2 & -1 \\ -1 & -1 & 2 \end{pmatrix} $$ then, adding the row with all elements equal to one increases the rank. I do not understand.
data = c(2,-1, -1, -1, 2, -1, -1, -1, 2)
A = matrix(data,nrow=3,ncol=3,byrow=TRUE)
print(A)
rankMatrix(A)
B = rbind(A, rep(1,3))
print(B)
rankMatrix(B)
Adding a row increases the dimension of the output vector by $1$, however the matrix would only "increase" in rank if this row was linearly independent to the $n-1$ independent rows. The rank can't be continually increased however. The largest possible rank for an $m\times n$ matrix is $\min(m,n)$ since the rank cannot be larger than the dimension of output vector nor can the matrix "increase" the "size" of the domain (the "input" vector space) by making the rank larger than the domain dimension. This is because linear maps are well-defined and have only one output vector per input vector