code: function getElementCoords (element, coords) {
    coords = coords || element.node().getBBox()
    const ctm = element.node().getCTM()
    const xn = ctm.e + coords.x * ctm.a
    const yn = ctm.f + coords.y * ctm.d
    return {
      left: xn,
      top: yn,
      width: coords.width,
      height: coords.height
    }
  }
docs: Pass in the element and its pre-transform coords