Minor change.
Add Graph class to group vertices.