vis-network icon indicating copy to clipboard operation
vis-network copied to clipboard

Edge label near the Node

Open tobicodesstuff opened this issue 2 years ago • 1 comments

Hello,

would it be possible to have the option of adding new labels near two connected nodes?

This would be useful when displaying a network diagram of two devices being connected to one another. With this feature, the two connected interfaces could be better described, on the proper device.

tobicodesstuff avatar May 16 '23 08:05 tobicodesstuff

I second this. There's a label option for edges already which prints a label in the middle of the edge. I propose to add a label option in both from:{ } and to:{ } blocks. A use case could look like this:

network

It would be great if a developer could comment here if this feature might be implemented or if a PR would be accepted.

dreng avatar Sep 16 '24 12:09 dreng