Nice work. I should take some time and look through your code. Great job.
Here are some performance test (caching in jquery)
http://jquery-howto.blogspot.com/2008/12/caching-in-jquery.html
Read jQuery HowTo Resource - http://jquery-howto.blogspot.com
On Thu, Jan 8, 2009 at 11:36 PM, David D
Well, suprisingly there was an issue with drawing.
The script made an overzealous use of the jquery function
$element.offset();
Storing the position as variable instead of accessing it by offset()
led to a very notable increase in performance.
See demo at http://jowl.ontologyonline.org/TouchGraph
The great thing of html of course is that you can use css, means you
can style it easily (demo has very basic styling, some rounded corners
in firefox).
Not sure how flexible styling in raphael is, I'm not familiar enough
with it.
Also don't think canvas or svg will be any faster, because the issu
using "NO" Canvas or SVG is not that great a feature is it? :)
Make that use raphael.js and it's all set!
On Jan 7, 5:13 pm, David Decraene wrote:
> Thanks!
>
> It does need some computations that scale exponentially with the
> amount of nodes shown...
> but I think it seems to perform ok with
Thanks!
It does need some computations that scale exponentially with the
amount of nodes shown...
but I think it seems to perform ok with a not too high amount of
nodes, for an implementation that only uses html elements. Who nows,
with future browsers (or a better algorithm :)) things might
Very impressive! Seems a bit sluggish at times in FF 3.0.5, but nice
work!
Joe
On Jan 7, 5:12 am, David Decraene wrote:
> I had some fun creating a pure HTML-DOM based Force-directed graph
> layout, similar to a touchgraph (http://www.touchgraph.com/) view.
>
> Built with the help of jQuery (h
6 matches
Mail list logo