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

Edges color issue white updating

Open petmuradyan opened this issue 7 years ago • 5 comments

After updating edges ( edges.update( [array of objects] ) ) it is updating all properties of edges except of color. The color properties of edges are taking the right values, but visually all the edges getting color of the last edge color of array. Even if I am updating only individual edge by graph.clustering.updateEdge('id', {color: {color: 'black'}}) all edges becoming black.

petmuradyan avatar Oct 10 '19 17:10 petmuradyan

Hi @petmuradyan,

can you provide an MWE please?

Thanks.

PS: You can use one of the new JSFiddle links in our examples (https://visjs.github.io/vis-network/examples/) and just tweak it to show your issue.

Thomaash avatar Oct 10 '19 17:10 Thomaash

Unfortunately I can't. The functionality i mentioned is working with old version (4.9.0). I am using 5.1.0. The latest version with CDN is 4.9.0. For making JSFiddle I need newest versions with CDN

petmuradyan avatar Oct 10 '19 19:10 petmuradyan

The latest version in CDN is 6.1.1. See https://unpkg.com/browse/[email protected]/.

Thomaash avatar Oct 10 '19 19:10 Thomaash

Has anybody solved this issue?

baloian avatar Oct 13 '19 05:10 baloian

I figure out this issue ans solved. Fore more details see here. If it solves your issue you can close this.

baloian avatar Oct 13 '19 16:10 baloian