Function: svg-node
svg-node is a byte-compiled function defined in svg.el.gz.
Signature
(svg-node SVG TAG &rest ARGS)
Documentation
Add the custom node TAG to SVG.
Source Code
;; Defined in /usr/src/emacs/lisp/svg.el.gz
(defun svg-node (svg tag &rest args)
"Add the custom node TAG to SVG."
(let ((new-dom-node (dom-node tag
`(,@(svg--arguments svg args)))))
(svg--append svg new-dom-node)
new-dom-node))