Helper method for creating SVG elements.
Element's tag name.
Dictionary of attribute names and values.
Optional
Optional parent on which to append the element.
Newly created SVG element. The return type is {!SVGElement} if name is a string or a more specific type if it a member of Blockly.utils.Svg
Helper method for creating SVG elements.