Dot2SvgMain(string[] args) {
#if DEBUG
            DisplayGeometryGraph.SetShowFunctions();
#endif
            argsParser = new ArgsParser.ArgsParser(args);
            argsParser.AddOptionWithAfterString(FileOption);
            argsParser.AddAllowedOption(MsaglOutputOption);
            argsParser.AddAllowedOption(PrintOutOption);
            argsParser.AddAllowedOption(HelpOption);
            argsParser.AddOptionWithAfterString(PrecisionOption);
            argsParser.AddAllowedOption(VssParserOption);
            argsParser.AddAllowedOption(NoLabelsOption);
            argsParser.AddAllowedOption(PrintProcessedFileNameOption);
            argsParser.AddOptionWithAfterString(OutputDirOption);
            argsParser.AddAllowedOption(NoArrowheads);
            argsParser.AddAllowedOption(NoUrls);
            argsParser.AddOptionWithAfterStringWithHelp("-orient", "one of options  TB, LR, BT, RL");
        }
Пример #2
0
        Dot2SvgMain(string[] args)
        {
#if DEBUG
            DisplayGeometryGraph.SetShowFunctions();
#endif
            argsParser = new ArgsParser.ArgsParser(args);
            argsParser.AddOptionWithAfterString(FileOption);
            argsParser.AddAllowedOption(MsaglOutputOption);
            argsParser.AddAllowedOption(PrintOutOption);
            argsParser.AddAllowedOption(HelpOption);
            argsParser.AddOptionWithAfterString(PrecisionOption);
            argsParser.AddAllowedOption(VssParserOption);
            argsParser.AddAllowedOption(NoLabelsOption);
            argsParser.AddAllowedOption(PrintProcessedFileNameOption);
            argsParser.AddOptionWithAfterString(OutputDirOption);
            argsParser.AddAllowedOption(NoArrowheads);
            argsParser.AddAllowedOption(NoUrls);
        }
Пример #3
0
        Dot2SvgMain(string[] args)
        {
#if DEBUG
            DisplayGeometryGraph.SetShowFunctions();
#endif
            argsParser = new ArgsParser.ArgsParser(args);
            argsParser.AddAllowedOptionWithHelpString("-nolayout", "do not run layout if the geometry is there");
            argsParser.AddOptionWithAfterString(FileOption);
            argsParser.AddAllowedOption(MsaglOutputOption);
            argsParser.AddAllowedOption(PrintOutOption);
            argsParser.AddAllowedOption(HelpOption);
            argsParser.AddOptionWithAfterString(PrecisionOption);
            argsParser.AddAllowedOption(VssParserOption);
            argsParser.AddAllowedOption(NoLabelsOption);
            argsParser.AddAllowedOption(PrintProcessedFileNameOption);
            argsParser.AddOptionWithAfterString(OutputDirOption);
            argsParser.AddAllowedOption(NoArrowheads);
            argsParser.AddAllowedOption(NoUrls);
            argsParser.AddOptionWithAfterStringWithHelp("-orient", "one of options  TB, LR, BT, RL");
            argsParser.AddAllowedOptionWithHelpString("-bw", "black white colors in SVG");
            argsParser.AddAllowedOption("-noedges");
            argsParser.AddOptionWithAfterStringWithHelp("-scaleNodesBy", "scale node only if the geometry is given");
            argsParser.AddOptionWithAfterStringWithHelp("-nblw", "node boundary line width");
        }