Local graph shows incorrectly when the Forces are set to be 0.0

Steps to reproduce

  1. you need a local graph, as the incoming/outgoing/neighbor Link switches are only available in local graph.
  2. the local graph should include a lot of nodes, the more the better(eg. 20+)
  3. set all of the center/repel/link forces of this graph to 0.0
  4. turning on/off the xxx(incoming/outgoing/neighbor) Link switches as you like.

Expected result

the graph should change accordingly

Actual result

the graph becomes wired and may go dead.

Feb-19-2021 00-33-14


  • Operating system: macOS
  • Obsidian version: 0.11.1

Additional information

Observation: by turning on/off xxx(incoming/outgoing/neighbor) Link switches, the number of the node and their position will change. The values of yyyy(center/repel/link) force may be used in this position re-calculation processing, and the 0.0 leads to some problems. With a value slightly greater than 0.0, eg. 0.02, this issue will not happen again.

1 Like