render()

in modules/feature-list-view/src/feature-view.js [287:316]


  render() {
    const {x, y, width, height, data} = this.props;
    if (width <= 0 || height <= 0 || !data) {
      return null;
    }
    const innerLayourProps = {
      x: 0,
      y: HEADER_HEIGHT,
      width: width - RIGHT_MARGIN_WIDTH,
      height: height - HEADER_HEIGHT - FOOTER_HEIGHT,
    };
    return (
      <svg
        x={x}
        y={y}
        width={width + RIGHT_MARGIN_WIDTH}
        height={height}
        onMouseOver={() => this._toggleFocus(true)}
        onMouseOut={() => this._toggleFocus(false)}
      >
        {this._renderSelectedInstances()}
        {this._renderContent(innerLayourProps)}
        {this._renderMasks(innerLayourProps)}
        {this._renderMarkers(innerLayourProps)}
        {this._renderFeatureLabel()}
        {this._renderYAxis()}
        {this._renderXAxis()}
      </svg>
    );
  }