Hi Guys,
this.Add(this.LeftSequenceBlock);
this.LeftSequenceBlock.Init(true);
this.RightSequenceBlock = new UIEntitySubGraph(this.ObjectState.FirstChild.NextItem, “Thread 1”);
this.RightSequenceBlock.Selectable = false;
this.RightSequenceBlock.Movable = false;
this.RightSequenceBlock.Collapsible = false;
this.RightSequenceBlock.Editable = false;
this.RightSequenceBlock.Label.Selectable = false;
this.Add(this.RightSequenceBlock);
this.RightSequenceBlock.Init(true);
this.EndNode = new UIEntitySequenceEnd(this.ObjectState.FirstChild.NextItem.NextItem.NextItem);
this.Add(this.EndNode);
this.Doc.MakeLink(this.RightSequenceBlock.BottomPort, this.EndNode.TopPort, false);
this.Doc.MakeLink(this.LeftSequenceBlock.BottomPort, this.EndNode.TopPort, false);
this.ReparentAllLinksToSubGraphs();