Browse Source

BugFix - Network.options.nodes

As the documentation on vis.js nodes can be styled with align: left|center

allOptions does not include this option and throw an error on option validation.
codeClimate
SonIcco 8 years ago
parent
commit
2cc2c4e65d
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      lib/network/options.js

+ 2
- 1
lib/network/options.js View File

@ -171,6 +171,7 @@ let allOptions = {
__type__: { object, boolean }
},
font: {
align: { string },
color: { string },
size: { number }, // px
face: { string },
@ -510,4 +511,4 @@ let configureOptions = {
export {allOptions, configureOptions};
export {allOptions, configureOptions};

Loading…
Cancel
Save