diff --git a/builder/doc.html b/builder/doc.html new file mode 100644 index 0000000..23a0216 --- /dev/null +++ b/builder/doc.html @@ -0,0 +1,1439 @@ + + +
+ + + + + + + ++ This section is about how Wynnbuilder's main builder page processes user input and calculates results. + Might be useful if you want to script wynnbuilder or extend it! Or for wynnbuilder developers (internal docs). +
++ Modeling wynnbuilder's internal computations as a directed graph has a few advantages: +
++ An overview of wynnbuilder's internal structure can be seen here. Arrows indicate flow of information. + Colors correspond roughly as follows: +
+ ++ The overall logic flow is as follows: +
+ Outputs are computed as follows: +
+ The build sets default skillpoints and edited IDs automatically, whenever a build item/level is updated. + This is done using "soft links" by two nodes shown in red (builder-skillpoint-setter and builder-id-setter). +
++ A soft link is where something goes and manually marks nodes dirty and calls their update methods. + This is useful for these cases because the skillpoints and editable ID fields usually take their value from + user input, but in some cases we want to programatically set them. +
++ For example another soft link (not shown) is used to implement the reset button. +
+