Small improvements on ST_Graph