Ville Karavirta
Ville Karavirta
The node gap option for tree layout controls the horizontal and vertical gap between nodes. There should be separate options for them.
For common trees, the tree layout can position nodes incorrectly in some cases. Here's an example: ``` var tree = new jsav.ds.tree(); var r = tree.root(1); r.addChild(2); r.addChild(3); r.addChild(""); r.addChild(4);...
The highlight functions of the pseudocode object accept different types of parameters allowing highlight of multiple lines. The `setCurrentLine` should support the same types of parameters.
The arrows are drawn all wrong when setting a margin for list nodes.
Highlight/unhighlight for pseudocode have bugs when applied for multiple lines. For example: ``` pseudo = av.code(["line1", "line2"]); pseudo.highlight(1); pseudo.unhighlight([1, 2]); ``` ends up with line 1 not highlighted (as it...
If a student has a misconception, he/she can continue solving a simulation exercise even after the correct algorithm ends. The current implementation of the "atend" grading will still give full...
The layout algorithm throws confusing errors if a node is moved from one tree to another.
When going from begin to end (with the end button) in OpenDSA/AV/Sorting/radixListAV, some list edges are left visible while they should be hidden. When going through it step-by-step, they work...
If the JSAV data structure constructor was passed a custom DOM element, calling `.clear()`will remove that element. In that case, .clear() should be smart enough to only clear the element...
We should add support for AVs where a grade is given based on the answers to questions presented during the AV.