Browse Source

overruled inheritColor if you globally add color information for edges.

v3_develop
Alex de Mulder 10 years ago
parent
commit
712e176c87
2 changed files with 25895 additions and 25891 deletions
  1. +25894
    -25891
      dist/vis.js
  2. +1
    -0
      lib/network/Network.js

+ 25894
- 25891
dist/vis.js
File diff suppressed because it is too large
View File


+ 1
- 0
lib/network/Network.js View File

@ -629,6 +629,7 @@ Network.prototype.setOptions = function (options) {
if (options.edges.color.highlight !== undefined) {this.constants.edges.color.highlight = options.edges.color.highlight;} if (options.edges.color.highlight !== undefined) {this.constants.edges.color.highlight = options.edges.color.highlight;}
if (options.edges.color.hover !== undefined) {this.constants.edges.color.hover = options.edges.color.hover;} if (options.edges.color.hover !== undefined) {this.constants.edges.color.hover = options.edges.color.hover;}
} }
this.constants.edges.inheritColor = false;
} }
if (!options.edges.fontColor) { if (!options.edges.fontColor) {

Loading…
Cancel
Save