fromHandleArchetype property

GraphObject? fromHandleArchetype

Gets or sets a small GraphObject that is copied as a relinking handle for the selected link path at the "from" 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 green triangles:

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

Implementation

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

Implementation

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