//
Ian,
There are a few external libraries you can import and use to convert graphics to GeoJSON.
Home | Terraformer
GitHub - Esri/arcgis-to-geojson-utils: Tools to convert ArcGIS JSON geometries to GeoJSON geometries...