示例#1
0
        public void SampleDoc3()
        {
            var d = new DGML.DGMLBuilder();

            d.AddNode("A");
            d.AddNode("B");
            d.AddNode("C");
            d.AddNode("D");
            d.AddLink("A", "B");
            d.AddLink("B", "C");
            d.AddLink("C", "D");
            d.AddLink("D", "B");

            d.Save(IsotopeTestCommon.Helper.GetTestMethodOutputFilename("dgml-sample3.dgml"));
        }
示例#2
0
        public void SampleDoc3()
        {
            var d = new DGML.DGMLBuilder();

            d.AddNode("A");
            d.AddNode("B");
            d.AddNode("C");
            d.AddNode("D");
            d.AddLink("A","B");
            d.AddLink("B", "C");
            d.AddLink("C", "D");
            d.AddLink("D", "B");

            d.Save( IsotopeTestCommon.Helper.GetTestMethodOutputFilename("dgml-sample3.dgml" ) );
        }
示例#3
0
        public void SampleDoc4()
        {
            var d = new DGML.DGMLBuilder();

            d.AddNode("D", d.DefaultContainerNodeAttributes);

            d.AddLink("A", "B");
            d.AddLink("B", "C");
            d.AddLink("C", "D");
            d.AddLink("D", "B");
            d.AddLink("D", "E", d.DefaultContainerLinkAttributes);

            d.Save(IsotopeTestCommon.Helper.GetTestMethodOutputFilename("dgml-sample4.dgml"));
        }
示例#4
0
        public void SampleDoc4()
        {

            var d = new DGML.DGMLBuilder();

            d.AddNode("D", d.DefaultContainerNodeAttributes);
 
            d.AddLink("A", "B");
            d.AddLink("B", "C");
            d.AddLink("C", "D");
            d.AddLink("D", "B");
            d.AddLink("D", "E", d.DefaultContainerLinkAttributes);

            d.Save(IsotopeTestCommon.Helper.GetTestMethodOutputFilename("dgml-sample4.dgml"));
        }