From 2cc2c4e65d050a569ac9e1fd31173d1248089374 Mon Sep 17 00:00:00 2001 From: SonIcco Date: Fri, 15 Apr 2016 10:46:03 +0200 Subject: [PATCH] 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. --- lib/network/options.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/network/options.js b/lib/network/options.js index 59c84641..9c0ff2b8 100644 --- a/lib/network/options.js +++ b/lib/network/options.js @@ -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}; \ No newline at end of file +export {allOptions, configureOptions};