Graphoon is a force directed graph algorithm written in Lua.
It emerged from the graph calculation code used in both LoGiVi and LoFiVi. A force directed graph layout is achieved by simulating physical forces, which push and pull each node in the graph until a nice layout is found.
Grab it on github.
Demo is available here (The demo requires LÖVE 0.10.0).