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.