- Code: Select all
function InsertLink(Source, Target: TGraphObject; ALinkClass: TGraphLinkClass = nil): TGraphLink;
function InsertLink(Source: TGraphObject; const Pts: array of TPoint; ALinkClass: TGraphLinkClass = nil): TGraphLink;
function InsertLink(const Pts: array of TPoint; Target: TGraphObject; ALinkClass: TGraphLinkClass = nil): TGraphLink;
function InsertLink(const Pts: array of TPoint; ALinkClass: TGraphLinkClass = nil): TGraphLink;
The first version only links directly.
Does the versions with the Start/end-Pts link to a node which can be found there?