-
Notifications
You must be signed in to change notification settings - Fork 373
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rather than storing separate state for the nodes’ fixed positions, just use the fx and fy properties on the nodes themselves. This is more similar to the 3.x API which used node.fixed (and node.px, node.py to store the previous position). This eliminates the need to expose additional APIs for getting, setting, clearing and iterating over the fixed positions. Fixes #35.
- Loading branch information
Showing
2 changed files
with
13 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters