#8033: add a README.txt for the graph_editor, to encourage development
---------------------------+------------------------------------------------
   Reporter:  was          |       Owner:  was       
       Type:  enhancement  |      Status:  new       
   Priority:  minor        |   Milestone:  sage-4.3.2
  Component:  notebook     |    Keywords:            
     Author:               |    Upstream:  N/A       
   Reviewer:               |      Merged:            
Work_issues:               |  
---------------------------+------------------------------------------------

Comment(by was):

 And here is the content (from Mitesh Patel):
 {{{
 The main files are

        a. sage/graphs/graph_editor.py
        b. graph_editor.html
        c. graph_editor.js
        d. processing.editor.min.js

 Evaluating graph_editor(G) (see (a)) in an input cell generates
 code/markup for an inline frame, which the notebook inserts into the
 corresponding output cell.  The iframe loads (b) as its content.  In
 turn, (b) draws in jQuery / UI, the layout algorithms in (c), and the
 HTML5 canvas rendering engine in (d).

 According to

        http://trac.sagemath.org/sage_trac/ticket/1321#comment:31

 Rado adapted (d) from a project called Processing.js

 http://processingjs.org/
 http://processingjs.org/reference
 http://processingjs.org/download

 whose original and minified source files are

        e. processing.js
        f. processing.min.js

 To make it somewhat easier to understand the differences between (f) and
 (d), I put (d) through a JS "beautifier"

        http://jsbeautifier.org/

 The result is

        g. processing.editor.js

 But I decided not to give the same treatment to (e) and attempt to make
 a concise diff.
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8033#comment:1>
Sage <http://www.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