Reading graphs with generic ids