You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d2e799b
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: v3/docs/make_visualizations.md
+19-19Lines changed: 19 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,27 +70,27 @@ If you already have a visualization set up and you would like to use this approa
70
70
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
71
71
the following.
72
72
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
74
74
75
-
<div id="prog3_1_pyDiv"></div>
76
-
-->
75
+
<div id="prog3_1_pyDiv"></div>
76
+
-->
77
77
78
78
79
79
For reference, we list the possible visualization parameters (with system-wide defaults - based on comments in `pytutor.js`) below.
80
80
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).
*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).
0 commit comments