code: function initSvg(props) {
    var element = props.element,
        svgTransform = props.svgTransform,
        curRect = element.getBoundingClientRect(),
        // Get Rect before change position.
    fixPosition = getBBox(element);
  
    svgTransform.setTranslate(0, 0);
    var originBBox = props.svgOriginBBox = element.getBBox(),
  
    // Try to get SVG coordinates of current position.
    newRect = element.getBoundingClientRect(),
        originPoint = viewPoint2SvgPoint(props, newRect.left, newRect.top),
  
    // Gecko bug, getScreenCTM returns incorrect CTM, and originPoint might not be current position.
    offset = props.svgOffset = { x: originBBox.x - originPoint.x, y: originBBox.y - originPoint.y },
  
  
    // Restore position
    curPoint = viewPoint2SvgPoint(props, curRect.left, curRect.top);
    svgTransform.setTranslate(curPoint.x + offset.x - originBBox.x, curPoint.y + offset.y - originBBox.y);
  
    return fixPosition;
  }
docs: [SVG] 
  Initialize SVGElement, and get `offset` that is used by `moveSvg`.
  @param {props} props - `props` of instance.
  @returns {BBox} Current BBox without animation, i.e. left/top properties.