{% load i18n %}
{% blocktrans %} Instead of using the "Vectors" and "Expected result" fields above to define or modify the set of working vectors and expected result for this exercise, you can also use the board below. {% endblocktrans %}
{% blocktrans %} To add a vector, left-click the board where you want the vector to originate. Keep holding down the left mouse button and drag your mouse pointer across the board to achieve the desired length and angle for the vector. Alternatively, you can click "Create vector", which will add a new vector that starts at the center of the board and has a predefined length (3) and angle (90). {% endblocktrans %}
{% blocktrans %} To modify the position of an existing vector, left-click it, hold down the left mouse button, and move your mouse pointer across the board. To modify length and/or angle, left-click the tip of the vector and drag your mouse pointer across the board. Alternatively, you can select an existing vector from the dropdown menu, modify its tail position, length, and angle by changing the values in the corresponding input fields, and click "Update" to update its position on the board. You can also modify the name and label of a vector using this technique. {% endblocktrans %}
{% blocktrans %} To remove an existing vector, left-click it or select it from the dropdown menu, then click "Remove". {% endblocktrans %}
{% blocktrans %} When you are done defining the set of working vectors, click "Edit result" to switch the editor to a mode that will allow you to define the expected result for this exercise. In this mode you can operate on vectors as described above but you can not add or remove vectors, and you may not change the name and label of a selected vector. {% endblocktrans %}
{% blocktrans %} To define the expected result for the exercise, place each vector where it would be located in a correct solution. When a vector is selected and positioned correctly, use the menu to the right of the board to select the checks that you would like the grader to perform for this vector, then click "Update" to save expected position and associated checks for the vector. Note that if you do not select any checks for a given vector, no checks at all will be performed for it during grading (i.e., the grader will skip a presence check). {% endblocktrans %}
{% blocktrans %} Finally, note that if you make changes using the board below, any changes you made via the "Vectors" and "Expected results" fields above will be overwritten when you save the settings for this exercise by clicking the "Save" button at the bottom of this dialog. {% endblocktrans %}