Geek Rant dot org

 

Thu 2006-06-15

Nifty: Force Directed Graphs in Javascript

Filed under: — josh @ 06:31

Starts off as a mess, then...
Kyle Scholz has developed code to represent Force Directed Graphs in Javascript, and you can interact with the nodes. We’re talking mathematical directed graphs here - you might know them as networks.

Basically, there’s a bunch of nodes and they settle themselves into a stable state minimizing tension between them - the graphs balance themselves out, and you can see it happening - it’s animated. And interactive - you can grab a node and move it around. It is ubercool.

Downside is that it sucks huge CPU.
... eventually becomes balanced

Digg this

Leave a Reply


26 queries. 0.348 seconds. Powered by WordPress