findMidLabel method

GraphObject? findMidLabel()

(undocumented) Returns the first label that should be at the "middle" of the link, if there is any such label. Elements that have .isPanelMain === true are ignored, including the #path. Elements that have a GraphObject#segmentIndex set are ignored, such as arrowheads. If there are no label objects within the Link Panel, consider any #labelNodes whose segmentIndex has not been set. This could be overridden to return a different label than the first one, or to always return null. @expose @return {GraphObject}

Implementation

_i3.GraphObject? findMidLabel() => _i4.callMethod(
      this,
      'findMidLabel',
      [],
    );