passing new edges parameters to gui, got to make gui->edges feedback