graphs: Add PointFromObject
graphs: Add RectangleFromObject