Set graphics parent for programmatically created shapes.