Add vertex and edge ranges for graph types.