#1321: graphs: an interactive graph editor
--------------------------+-------------------------------------------------
 Reporter:  jason         |       Owner:  rlm          
     Type:  enhancement   |      Status:  new          
 Priority:  major         |   Milestone:  sage-wishlist
Component:  graph theory  |    Keywords:               
 Reviewer:                |      Author:               
   Merged:                |  
--------------------------+-------------------------------------------------

Comment(by mpatel):

 A minor suggestion:  Please try transposing the last two lines of
 `mouseReleased()` to, e.g.,
 {{{
     dragged_node = null;
     last_click_time = millis();
     redraw();
     }
   if(!LIVE) noLoop();
 }

 class Edge {
 }}}
 I think this will solve the problem of "high" CPU use after
  * Turning on the live feature.
  * Turning off the live feature.
  * Clicking on the canvas to add a new node.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/1321#comment:5>
Sage <http://sagemath.org/>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to