Update graph 'GetVertices' method
Revert "Update graph 'GetVertices' method"

This reverts commit 1229aca3df4eb9ae2d3cc0302f4b0549182d9bd8.
Update graph 'GetVertices' method