Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link labels and additional node labels #77

Open
samul-1 opened this issue Oct 15, 2020 · 1 comment
Open

Link labels and additional node labels #77

samul-1 opened this issue Oct 15, 2020 · 1 comment

Comments

@samul-1
Copy link

samul-1 commented Oct 15, 2020

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.

  1. 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?

  2. 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!

@diacu
Copy link

diacu commented Dec 10, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants