"node"
mkraska edited this page Apr 29, 2023
·
6 revisions
[ "node", "name", [x,y], off, color ]
Node (small white circle, typically indicates hinge point) with label.
-
"name"
label text, typeset in MathJax math mode. -
[x,y]
center point -
off
(optional, default: 10 pixel) offset of label text anchor from center point -
color
(optional, default: fillcolor white, labelcolor black) set the color for label and fill
[
[ "grid", "x","y", -5,5,-4,5, 50, [10,10], [0,0] ],
[ "node", "name", [2,2] ],
[ "node", "S_2", [3,2], 1, "red"]
]
In order to try code snippets in jsfiddle,
- copy the code from the wiki page to the clipboard
- follow the link for the JSXGraph version you want to try
- Replace the code in the HTML section (contents of
<p hidden id="init">
) with the content of the clipboard