Hey,
When i manually insert control points into the diagramlinks control point collection, the last line segments are not drawn.
I use the following code to insert the controlpoint:
DataRow[] cpRows = dr.GetChildRows("REL_PROCESS_STEP_PROCESS_STEP_CONTROL_POINT");
if (cpRows.Count() > 0)
{
processStep.ControlPoints.Clear();
foreach (DataRow cpRow in dr.GetChildRows("REL_PROCESS_STEP_PROCESS_STEP_CONTROL_POINT"))
{
processStep.ControlPoints.Add(
new System.Drawing.PointF(Convert.ToSingle(cpRow["X_COORDINATE"]), Convert.ToSingle(cpRow["Y_COORDINATE"])));
}
}
addProcessStep(processStep);
diagram.Selection.Links.Add(processStep);
processStep.UpdateFromPoints();
Image:

Anybody familiar with this issue?
Thanks in advance!