toHandleArchetype property

GraphObject? toHandleArchetype

Gets or sets a small GraphObject that is copied as a relinking handle for the selected link path at the "to" end of the link. By default this is a Shape that is a small blue diamond. Setting this property does not raise any events.

Here is an example of changing the default handle to be larger orange triangles:

  myDiagram.toolManager.relinkingTool.toHandleArchetype =
  $(go.Shape, "Triangle",
    { width: 10, height: 10, fill: "orange", segmentIndex: -1 });

Implementation

_i3.GraphObject? get toHandleArchetype => _i4.getProperty(
      this,
      'toHandleArchetype',
    );
void toHandleArchetype=(GraphObject? value)

Implementation

set toHandleArchetype(_i3.GraphObject? value) {
  _i4.setProperty(
    this,
    'toHandleArchetype',
    value ?? _i5.undefined,
  );
}