midHandleArchetype property
GraphObject?
get
midHandleArchetype
Gets or sets a small GraphObject that is copied as a resegment handle at each mid-point in the selected Link's route. 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 cyan triangles:
myDiagram.toolManager.linkReshapingTool.midHandleArchetype =
$(go.Shape, "Triangle", { width: 10, height: 10, fill: "cyan" });
Implementation
_i3.GraphObject? get midHandleArchetype => _i4.getProperty(
this,
'midHandleArchetype',
);
set
midHandleArchetype
(GraphObject? value)
Implementation
set midHandleArchetype(_i3.GraphObject? value) {
_i4.setProperty(
this,
'midHandleArchetype',
value ?? _i5.undefined,
);
}