Fundamental operations on graphs