Hi,
I am trying to add a unbound node programatically, as shown in the below code. But I see that the node is taking NaN for the location and appears at left top corner. Also it doesn’t appear on diagram by default rather its shown only after after I zoom in /zoom out.
Node annotationNode = new Node
{
Location = new Point(125,125),
Id = "1",
};
diagram.PartsModel.AddNode(annotationNode);
Note that the values to Location comes from another layer in out application and also the id