Force directed graph layout in 3d