Пример #1
0
        public static void Main(string[] args)
        {
            Splash();
            arguments = ProcessCommandLineArguments(args);
            VennDiagramData vdd = new VennDiagramData(arguments.regionArray);

            if (arguments.polar)
            {
                vdd.WritePolarVennDiagramData();
            }
            else
            {
                vdd.WriteVennDiagramData();
            }
            if (arguments.xl.Length > 0)
            {
                // produce an XL file with the 'right stuff'
                // Make sure we pass a complete filename path too.
                string filename = Path.GetFullPath(arguments.xl);
                Console.WriteLine("Produce Excel VennDiagram file: {0}", filename);
                VennToNodeXL.CreateVennDiagramNodeXLFile(filename, vdd);

            }
        }