public static new ExampleRootDiagram Create(IElementCreateInfo elementCreateInfo) { var diagram = new ExampleRootDiagram(); diagram.Init(elementCreateInfo); return(diagram); }
protected override void Init(IElementCreateInfo info) { if (!info.ForParse) { RootDiagram = new ExampleRootDiagram(); } base.Init(info); }