single type for graph