Hi everyone,
I upgraded the MindFusion.Diagramming.Mvc from 3.3.1 to 4.2.0 and the issue arises
"MindFusion.Diagramming.DiagramNode.MasterGroup.get returned null.
"
I already initialise and assign value to DiagramNode class, which has object refrence but it gives null for MasterGroup attribute.
Initialise :
var x= d.Factory.CreateShapeNode(0 + xOffset, 0, BOX_WIDTH, BOX_HEIGHT * pathLenth, Shapes.Rectangle);
x.Text = GetStringBuilderFromPath(l.y_PATH).ToString();
x.Locked = true;
x.Id = l.y_ID;
x.Tag = "y ::" + l.y_ID;
x.Brush = new MindFusion.Drawing.SolidBrush(COLOR_LOC);
access:
ContainerNode c = (ContainerNode)x.MasterGroup.MainItem;
(here it gives the null for MasterGroup )
NOTE :: ABOVE CODE WAS WORKING FOR 3.3.1 VERSION