Let $I ⊂ K[x1,...,xn]$ be a squarefree monomial ideal generated in one degree. Let $G_I$ be the graph whose nodes are the generators of $ I$, and two vertices $u_i$ and $u_j$ are adjacent if there exist variables $x, y$ such that $ xu_i = yu_j$. We show that if $I$ is generated in degree n−2$, then the following are equivalent$ (i) $G_I$ is a connected graph (ii) $I$ has a (n−2)-linear$ resolution (iii)$I$ has linear quotients (iv) I is a variable-decomposable ideal We also prove that if I has linear relations and $G_I$ is chordal,then I has linear quotients