Skip to content

Commit d2e799b

Browse files
committed
update doc
1 parent e48c17e commit d2e799b

1 file changed

Lines changed: 19 additions & 19 deletions

File tree

‎v3/docs/make_visualizations.md‎

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -70,27 +70,27 @@ If you already have a visualization set up and you would like to use this approa
7070
At the end of the dependencies information injected into the `.html` file is a comment containing div entries that you can cut-and-paste into the position within the `.html` file where you would like the visualization to appear. The Makefile does not know where this is to be added and so this step needs to be done manually. Re-making this file will not remove this infomation from the body of the file. So, for example, in the header of `file3.html` you should find
7171
the following.
7272

73-
<!-- Cut and paste the following lines to the place where the visualizations are to be inserted
73+
<!-- Cut and paste the following lines to the place where the visualizations are to be inserted
7474

75-
&lt;div id="prog3_1_pyDiv"&gt;&lt;/div&gt;
76-
--&gt;
75+
<div id="prog3_1_pyDiv"></div>
76+
-->
7777

7878

7979
For reference, we list the possible visualization parameters (with system-wide defaults - based on comments in `pytutor.js`) below.
8080

81-
*heightChangeCallback: the function to call whenever the height of the visualization changes. If using the make program this is hard-wired in and can't be changed.
82-
*updateOutputCallback: the function to call before rendering output. Disabled for the make program.
83-
*executeCodeWithRawInputFunc: function to call when you want to re-execute the given program with some new user input. Disabled for the make program.
84-
*embeddedMode: if true, it is a shorthand for hideOutput = true, allowEditAnnotations = false (default : false)
85-
*startingInstruction: the trace entry to start execution at (0-indexed) (default : 0).
86-
*verticalStack: if true then place code display above visualization, else place side-by-side (default: false)
87-
*jumpToEnd: if true jump to the end of execution - the same as setting startingInstruction to the last trace entry (default:false).
88-
*codeDivWidth: the width of the code text window in pixels (default : 350).
89-
*codeDivHeight: the height of the code text window in pixels (default : 400).
90-
*hideOutput: hide "Program output" display (default : false).
91-
*editCodeBaseURL: the URL to visit when the user clicks 'Edit code'.
92-
*allowEditAnnotations: allow user to edit per-step annotations (default: false).
93-
*disableHeapNesting: if true, then render all heap objects at the top level (i.e., no nested objects) (default : true).
94-
*drawParentPointer: if true, then draw environment diagram parent pointers for all frames (default : true).
95-
*textualMemoryLabels: render references using textual memory labels rather than as jsPlumb arrows (default : true).
96-
*showOnlyOutputs: show only program outputs and NOT internal data structures (default : true).
81+
- heightChangeCallback: the function to call whenever the height of the visualization changes. If using the make program this is hard-wired in and can't be changed.
82+
- updateOutputCallback: the function to call before rendering output. Disabled for the make program.
83+
- executeCodeWithRawInputFunc: function to call when you want to re-execute the given program with some new user input. Disabled for the make program.
84+
- embeddedMode: if true, it is a shorthand for hideOutput = true, allowEditAnnotations = false (default : false)
85+
- startingInstruction: the trace entry to start execution at (0-indexed) (default : 0).
86+
- verticalStack: if true then place code display above visualization, else place side-by-side (default: false)
87+
- jumpToEnd: if true jump to the end of execution - the same as setting startingInstruction to the last trace entry (default:false).
88+
- codeDivWidth: the width of the code text window in pixels (default : 350).
89+
- codeDivHeight: the height of the code text window in pixels (default : 400).
90+
- hideOutput: hide "Program output" display (default : false).
91+
- editCodeBaseURL: the URL to visit when the user clicks 'Edit code'.
92+
- allowEditAnnotations: allow user to edit per-step annotations (default: false).
93+
- disableHeapNesting: if true, then render all heap objects at the top level (i.e., no nested objects) (default : true).
94+
- drawParentPointer: if true, then draw environment diagram parent pointers for all frames (default : true).
95+
- textualMemoryLabels: render references using textual memory labels rather than as jsPlumb arrows (default : true).
96+
- showOnlyOutputs: show only program outputs and NOT internal data structures (default : true).

0 commit comments

Comments
 (0)