If a plant that was previously used for ornamental purposes, such as a flower or a decorative grass, has now become a vegetable, you could say "The flower has become a vegetable." or "The ornamental plant has been transformed into a vegetable."
Alternatively, you could simply say "The plant has become a vegetable." without specifying its previous use.
Alternatively, you could simply say "The plant has become a vegetable." without specifying its previous use.

