Changes the state of the vertex at the given index. Throws an exception if the vertex does not exist.
See Implementation
Changes the state of the vertex at the given index. Throws an exception if the vertex does not exist.