startObject property
GraphObject?
get
startObject
Gets or sets the GraphObject at which #findLinkablePort should start its search. The default value is null. Setting this property does not raise any events.
If you want to explicitly start a new user mouse-gesture to draw a new link from a given GraphObject that may be a "port" object or may be within the visual tree of a "port" object, set this property to that object to let #findLinkablePort find the real "port" object. Then start and activate this tool:
var tool = myDiagram.toolManager.linkingTool;
tool.startObject = ...;
myDiagram.currentTool = tool;
tool.doActivate();
Implementation
_i3.GraphObject? get startObject => _i4.getProperty(
this,
'startObject',
);
set
startObject
(GraphObject? value)
Implementation
set startObject(_i3.GraphObject? value) {
_i4.setProperty(
this,
'startObject',
value ?? _i5.undefined,
);
}