-
Notifications
You must be signed in to change notification settings - Fork 0
Force Layout
mbostock edited this page Jul 3, 2011
·
41 revisions
A flexible force-directed graph layout implementation using position Verlet integration to allow simple constraints. For more on physical simulations, see Thomas Jakobsen. This implementation uses a quadtree to accelerate charge interaction using the Barnes–Hut approximation.

# d3.layout.force()
# force.size([size])
# force.distance([distance])
# force.friction([friction])
# force.charge([charge])
# force.gravity([gravity])
# force.theta([theta])
# force.nodes([nodes])
# force.links([links])
# force.start()
# force.resume()
# force.stop()
# force.on(type, listener)
# force.drag()