Skip to content

🚀 v0.4.0 Circular Graph Prevention

Compare
Choose a tag to compare
@chrisjpatty chrisjpatty released this 07 Aug 18:23
· 103 commits to master since this release

🚀 The RootEngine now disallows logic graphs setup with circular nodes from overwhelming the call stack. By default, each root node input is allowed up to 1000 maximum loops before the engine logs an error and returns undefined for the value of that input. Inputs without circular dependencies are allowed to continue as normal.

🚀 New RootEngine options key maxLoops for overriding the above behavior. Passing an integer to this key will override the maximum number of loops. Passing -1 will disable this check entirely, and allow infinite loops.