[Lorenz] Prevent node label text from overlapping
In the physics simulation, "phantom" nodes have been added approximately where node label text will be rendered. Longer labels consist of more phantom nodes. These phantom nodes do not appear in the final visualization, but emit a weak repulsive force in order to help prevent node labels from overlapping with each other. Bug: 1109275 Change-Id: I59a941a89298d2937c368263c81feb16fffd692a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2357631 Commit-Queue: James Long <yjlong@google.com> Reviewed-by:Mohamed Heikal <mheikal@chromium.org> Reviewed-by:
Samuel Huang <huangs@chromium.org> Cr-Commit-Position: refs/heads/master@{#798684}
Showing
Please register or sign in to comment