Example 8.4. ::dumper::arrow using getNodeByID
...
# Put the shape into the marker.
svgdom::addElement path \
[concat \
[list d $shape($type)] $properties] {} \
[svgdom::addToDefs marker \
[list id $ID refX $refx($type) orient "auto" markerUnits userSpaceOnUse markerWidth $b markerHeight \
[expr { 2*$c}] viewBox $view($type)] \
[svgdom::getNodeByID $window \
[svgdom::getRoot $_doc]]]