Table representation of a graph