Graph function

An undirected graph