Граф коммитов

10 Коммитов

Автор SHA1 Сообщение Дата
Jason Davies 71490ced64 Add missing force.linkStrength property.
Also update examples to use force.linkDistance instead of force.distance.
2011-07-08 21:23:41 +01:00
Square f9d0d423f0 Tweak parameters for force example. 2011-04-26 15:50:22 -07:00
Mike Bostock 7abebefe1e Better center gravity.
Rather than applying gravity to the entire graph, we now apply it to individual
nodes, such that disconnected nodes and subgraphs still have a tendency to drift
towards the center. In addition, rather than using a standard gravitational
force that drops quadratically with distance, we use a weak spring who force
increases with distance. This makes the gravitational effect less noticeable
near the center, and also makes the effect stronger the more the nodes drift
from the center. To balance the center "gravity" with the repulsive charge
force, we also normalize the strength of the gravity based on the number of
nodes in the graph.
2011-04-19 13:03:41 -07:00
Michael Bostock 36e935a8c8 Add force & treemap to d3.layout. 2011-03-03 15:43:57 -08:00
Michael Bostock 125ea93b63 Make force-directed graphs draggable. 2011-02-28 17:02:58 -08:00
Mike Bostock ced7b7242b Better force-directed layout.
Use the Floyd-Warshall algorithm to compute the shortest path between nodes, and
use that graph theoretic distance as the distance constraint for the Gauss-
Seidel relaxation. In addition, have the constraint alpha decay over time, as in
Simulated Annealing.
2011-02-27 18:22:23 -08:00
Michael Bostock 7b1df15bfe Restructure force example. 2011-02-27 12:09:27 -08:00
Jeffrey Heer 633a931f5b Add cardinal splines and clustered graph example 2010-12-15 09:32:29 -08:00
Michael Bostock 27dbb5a0fa Custom easing. Public d3.dispatch. 2010-10-24 12:40:26 -07:00
Mike Bostock ae0d06f209 Checkpoint examples. 2010-09-28 11:34:52 -07:00