I tried to create Link by this code:
Diagram := myDiagram;
Points[0].X := 100;
Points[0].Y := 100;
Points[1].X := 500;
Points[1].Y := 500;
but when it's executed, the Link always show on default value x1=0; y1=0; x2 = 100; y2 = 50;
anyone know how to create link with custom coordinates by code?