Link labels and additional node labels
samul-1 opened this issue · 1 comments
Hi, I'm loving this component!
There are a few features I'm looking for, and I'd like to know if they do exist already or if they will ever be implemented.
-
Is there any way to have link labels behave like node labels?
For example, sometimes link labels will be turned upside down, or will rotate along with the link if a node is dragged around. Whereas node labels don't rotate around that way. Is there any way to "fix" link lables like that? -
What if I wanted to have the "name" attribute for the nodes and also add a second "label" attribute? So maybe I could have the "name" inside the node and the secondary label floating next to it much like the current "name" attribute behaves. That'd be great.
Thank you!
check my fork (https://github.com/diacu/vue-d3-network). I added the possibility to use node labels as an array and display them on different lines.