code: function (elem) {
                  // Starts with hidden elements
                  elem.mapElem.attr({opacity: 0});
                  if (elem.textElem) elem.textElem.attr({opacity: 0});
                  // Set final element opacity
                  self.setElementOpacity(
                      elem,
                      (elem.mapElem.originalAttrs.opacity !== undefined) ? elem.mapElem.originalAttrs.opacity : 1,
                      animDuration
                  );
              }
docs: This function show an element using animation Used for newPlots and newLinks