See also the Interactive Force sample that uses the exact same data but a different node template and a customized ForceDirectedLayout.