block by GerHobbelt 3117757

d3.js: force layout and a grid-based anti-collision / positioning approach #1

Full Screen

Experiment …… ? 8

Derived from the D3.js example force_cluster.html and gist 3104394.

Features

A FAILED EXPERIMENT

As you can see: the visual behaviour is abominable; the quantization forces have to be minor to let the force layout work and they are simply too weak when it comes to manhandling the expanded groups into position.

Lesson learned: don’t do this at the same time, if you want it to work. Only when the force layout STOPS, MIGHT you be successful by then switching over to a ‘quantizing’ layout.

See the above hunch executed as gist 3118901 @ github.

Usage

Notes

CREDITS

miserables.json