Example #1
0
        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);
        }
Example #2
0
 protected override NationalInstruments.SourceModel.RootDiagram CreateNewRootDiagram()
 {
     return(BlockDiagram.Create(ElementCreateInfo.ForNew));
 }