protected override NationalInstruments.SourceModel.RootDiagram CreateNewRootDiagram() { BlockDiagram blockDiagram = BlockDiagram.Create(ElementCreateInfo.ForNew); SelfType selfTypeNode = SelfType.CreateSelfType(ElementCreateInfo.ForNew); blockDiagram.AddChild(selfTypeNode); selfTypeNode.Left = 300; selfTypeNode.Top = 200; return(blockDiagram); }
protected override NationalInstruments.SourceModel.RootDiagram CreateNewRootDiagram() { return(BlockDiagram.Create(ElementCreateInfo.ForNew)); }