Skip to content

Go back to position Verlet? #158

@mbostock

Description

@mbostock

When this module was broken out for D3 3.x, we switched from position to velocity Verlet. I believe the idea was to avoid certain ordering effects and instabilities as a result of forces incrementally modifying node positions as they ran. However, the new force layout feels… more sluggish than the old one. Here’s an example:

https://bl.ocks.org/mbostock/7881887
https://observablehq.com/@d3/clustered-bubbles-2

Going back to the D3 3.x method of integration would be disruptive (for custom forces), but it’s worth considering.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions