Hellooooooooooo,

Note that the renderer here evidently doesn't have edge labels implemented. 
> But using D3 (or something built on it) is the future for showing 
> "networks" in a webpage.  There's many javascript libraries that 
> attempt to solve this problem these days. 
>

Well, there is if you ask for them explicitly:

    sage: graphs.PetersenGraph().show(method='js',edge_labels=True)

The same sense of civic duty led me to deal with the absurdly complicated 
cases of "Edge-labelled directed Multigraph with Loops":

    sage: 
digraphs.GeneralizedDeBruijn(5,2).show(method='js',edge_labels=True,link_distance=150,link_strength=10)

By the way, there is a very very useful patch in needs_review just there:

    http://trac.sagemath.org/ticket/19591

It provides a zoom+translate feature to the d3js interface, which is 
mandatory to work with large networks.

I visualize graphs on thousands of nodes these days (really need to), and 
that would be totally impossible without this.

Nathann

 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to