edit edges and load a graph (cut and paste ;P