cassowary.js
cassowary.js copied to clipboard
Allow restricted external variables
Currently, restricted variables (non negative) are only allowed internally but not when using the api.
In a UI environment, elements are generally defined by 4 variables and half of them are expected to be non negative (width and height).
It would be easier for developers to just declare these variables as restricted rather than adding v>=0
constraints for all the variables.