code: function (targetNode, layoutParam, textStyleModel) {
          for (var node = targetNode; node; node = node.parentNode) {
              var text = node.getModel().get('name');
              var textRect = textStyleModel.getTextRect(text);
              var itemWidth = Math.max(
                  textRect.width + TEXT_PADDING * 2,
                  layoutParam.emptyItemWidth
              );
              layoutParam.totalWidth += itemWidth + ITEM_GAP;
              layoutParam.renderList.push({node: node, text: text, width: itemWidth});
          }
      }
docs: Prepare render list and total width
  @private