Main Content

Remove node from graph

removes the nodes specified by `H`

= rmnode(`G`

,`nodeIDs`

)`nodeIDs`

from graph
`G`

. Any edges incident upon the nodes in
`nodeIDs`

are also removed. `rmnode`

refreshes
the numbering of the nodes in `H`

, such that if you removed node
`k`

, then nodes `1:k-1`

have the same node
numbers in `H`

, and nodes `k+1:numnodes(G)`

in
`G`

become `k:numnodes(H)`

in
`H`

.