Ooker
Ooker

Reputation: 3054

How to avoid overlapping text labels in vis.js?

The labels of the nodes of my graph is long. I want to make them not overlap to each other. It's more efficient than tweaking the repulsion physics. Is it possible?

In the physics configuration, the barnesHut solver has avoidOverlap property which prevents overlapping. However this only applies to nodes, not note labels.

image

Upvotes: 3

Views: 382

Answers (0)

Related Questions