function mkElem (name, attrs, newparent) {
  const elem = document.createElementNS(ns.svg, name)
  setAttrs(elem, attrs)
  if (newparent) {
    newparent.append(elem)
  }
  return elem
}
@param {string} name
@param {module:jGraduate.Attrs} attrs
@param {Element} newparent
@returns {SVGElement}