Some simple operations on graph