public static void t6Main(String[] args) { Tag r = XMLReaderToTree.extractDirectory( @"C:\Users\Emad\Dropbox\DTU\Bachelor projekt\report\file-systems\many-equal-files.xml", ""); //printTagAndChildren(r, 0); int drawingSize = 100; Console.WriteLine("Loaded tree."); CircleNode layout = RINGS.MakeLayout(r, drawingSize); Console.WriteLine("Created layout."); RINGSForm f = new RINGSForm(drawingSize * 2, drawingSize * 2); f.Show(); f.DrawAllCircles(layout); f.drawToFile(@"C:\Users\Emad\Dropbox\DTU\Bachelor projekt\report\file-systems\many-equal-files" + "-master.png"); Console.ReadLine(); }
/// <summary> /// Loads the system creenshot and runs the RINGS algorithm, saving the result /// in a PNG file. /// </summary> /// <param name="args"></param> public static void t5Main(string[] args) { Tag r = XMLReaderToTree.extractDirectory( @"C:\Users\Emad\Dropbox\DTU\Bachelor projekt\File system screenshots\FS SS 15-03-16.xml", ""); //printTagAndChildren(r, 0); int drawingSize = 8000; Console.WriteLine("Loaded tree."); CircleNode layout = RINGS.MakeLayout(r, drawingSize); Console.WriteLine("Created layout."); RINGSForm f = new RINGSForm(drawingSize * 2, drawingSize * 2); f.Show(); f.DrawAllCircles(layout); f.drawToFile(@"C:\Users\Emad\Dropbox\DTU\Bachelor projekt\File system screenshots\FS SS 15-03-16.png"); Console.ReadLine(); }