#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: | ef54a760ab2cc9f7c86fe5b0cb527915a4b06750
Nathann Cohen | Stopgaps:
Report Upstream: N/A |
Branch: |
public/19591 |
Dependencies: |
-------------------------+-------------------------------------------------
Comment (by ncohen):
I use it to visualize very large graphs. Some of them are a bit like that:
{{{
sage: g = Graph()
sage: g.add_cycle(range(1000))
sage: g.show(method='js')
}}}
As you can see, without a zoom this javascript visualization is totally
useless.
The zoom, as you noticed, is a 'graphical' zoom and not a 'semantic' zoom.
Another zoom that adapts the size of nodes may be doable (I don't know
much about javascript), though perhaps 'zooming out' to visualize the
whole graph (as you can don on the example I gave) would become useless,
with too big vertices that would then hide the actual graph. I don't know.
> By the way, may we close #13418, now that there is method='js' ?
+1 from me.
Nathann
--
Ticket URL: <http://trac.sagemath.org/ticket/19591#comment:4>
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.