I did some network visualization a long time ago, and for big networks I found it fast to call toxiclib from clojure for calculating the layout, and use repulsive springs to generate my network, and once its relatively stable, add additional repulsive springs between overlapping nodes, so that these would separate as well.
http://www.shiffman.net/teaching/nature/toxiclibs/ On Thursday, 31 May 2012 15:59:31 UTC+2, Sean Devlin wrote: > > This should work great. You guys rock :) > > On Thursday, May 31, 2012 9:48:28 AM UTC-4, daveray wrote: >> >> Lacij (https://github.com/pallix/lacij) and Vijual >> (https://github.com/drcode/vijual) both implement graph layout >> algorithms in Clojure. >> >> Dave >> >> On Thu, May 31, 2012 at 6:42 AM, Ulises <ulises.cerv...@gmail.com> >> wrote: >> >> I have a contest going with a colleague, where we each have to render >> a >> >> network layout in SVG. My gut says that Synthetic Annealing is the >> right >> >> tool for the job here. >> > >> > I haven't heard of synthetic annealing (I have heard of simulated >> > annealing though) but if you're looking to draw a network of nodes and >> > to have them self-organise on a 2D space force-directed graphs are a >> > pretty nifty technique for that, see an example with d3 (don't know if >> > these graphs are available in d2 thought): >> > http://mbostock.github.com/d3/ex/force.html >> > >> > U >> > >> > -- >> > You received this message because you are subscribed to the Google >> > Groups "Clojure" group. >> > To post to this group, send email to clojure@googlegroups.com >> > Note that posts from new members are moderated - please be patient with >> your first post. >> > To unsubscribe from this group, send email to >> > clojure+unsubscr...@googlegroups.com >> > For more options, visit this group at >> > http://groups.google.com/group/clojure?hl=en >> > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en