christophergandrud / networkD3

D3 JavaScript Network Graphs from R
http://christophergandrud.github.io/networkD3
650 stars 269 forks source link

repel text labels in diagonalNetwork #238

Open hammao opened 6 years ago

hammao commented 6 years ago

Hi, Is it possible to add some thing like "repel" to the text so labels don't plot on each other ?

i'm using "diagonalNetwork(as.radialNetwork(hclust)" and most of the labels overlap.

Thank You

hammao commented 6 years ago

i notice the specifying the "height" helps but it changes the size of the plot. a function that simply repels the text from each other will be super helpful. Again, thanks for the package, it very useful for my research work in taxonomy.