add convenience methods for working with vertices and edges plus sample usage