Format remarks for ST_Graph