-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[network] nodes clustering does not "aggregate" edge's label #3495
Comments
Hi there! You've got a problem and a feature request rolled into one issue. Would you mind mentioning the As for overlapping labels, yes that's an interesting one. Clustering has been extensively adjusted with many bugs fixed (most recent being #3399), so chances are this is fixed too. However, I can't be sure, because labels of clustered nodes have not really been taken into account. So my question is: Would you mind making an example that I can use as a test case? The network in the image would do quite nicely, if possible. |
wow this is a fast response
sorry about that, I've done this because I think the two are related: I'll check the #3399 issue and make an example asap. |
Yeah, happens when I'm accidentally in front of the computer when an issue rolls in. OK, what is happening now in the latest develop branch: all the normal edges are hidden under a new cluster edge, so all those labels should just disappear. That leaves you with one replacing cluster edge for which you might set the label. If you want to set a cluster edge label only, you should be able to use FWIW, I have the belief that the problem and feature request are separate things; this should be verified by empirical means, of course. I didn't mean for you to examine #3399 in-depth, although if you want to, feel free. I just wanted to point out that a lot of work has been done with clusters. Actually, #3245 seems to be much more relevant to this issue, I suggest checking that one instead. Does it describe something similar to what you are experiencing? |
@lesion |
Hi there!
I'm using last visjs version (4.20.1), network component and trying to use cluster feature.
When using label on edges I see them overlapping once clustered:
I would also expect a method like processProperties to modify clustered edges style (as with nodes), for example to calculate the label written on edge once aggregated.
thanks
ps. very nice lib
The text was updated successfully, but these errors were encountered: