The edit toolbar has a number of events that you can monitor depending on when you want to interact with the graphic. It sounds like you want either onGraphicMoveStop or onDeactivate. Both will pass the graphic that was being edited to a function you define.