#19591: Zoom+move a Graph d3js representation
-------------------------+-------------------------------------------------
       Reporter:         |        Owner:
  ncohen                 |       Status:  needs_review
           Type:         |    Milestone:  sage-6.10
  enhancement            |   Resolution:
       Priority:  major  |    Merged in:
      Component:  graph  |    Reviewers:
  theory                 |  Work issues:
       Keywords:         |       Commit:
        Authors:         |  e8cf47fc703ae0fccda1b21981215e904411b114
  Nathann Cohen          |     Stopgaps:
Report Upstream:  N/A    |
         Branch:         |
  public/19591           |
   Dependencies:         |
-------------------------+-------------------------------------------------

Comment (by ncohen):

 Here is a very very small commit that changes the default list of colors
 used by d3js. We used to select "category20" but as you can see
 consecutive colors can be very close to each other, and it made
 visualization more difficult.

 http://bl.ocks.org/aaizemberg/78bd3dade9593896a59d

 Now this looks better:

 {{{
 sage: graphs.PathGraph(10).show(method='js',vertex_partition=[[i] for i in
 range(10)])
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/19591#comment:6>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to