Skip to content

Commit

Permalink
improved force directed layout
Browse files Browse the repository at this point in the history
The simulation more or less works now, but it could use improvements. There are FIXMEs in the layout code appropriately.

* Visualization of node bounds and gravitational centroid positions and masses in debug builds.
* Tweaked parameters.
* A node's parent, if any, now repels the child nodes. This seems to help keep the tree spread out.
  • Loading branch information
mdegans committed Jun 13, 2024
1 parent 7f495c1 commit d75254a
Showing 1 changed file with 202 additions and 41 deletions.
Loading

0 comments on commit d75254a

Please sign in to comment.