コード例 #1
0
 public static string ToDotString(this ImageAligner imageAligner, string graphName = "graph")
 {
     var dotGen = new DotVisualizer(graphName, imageAligner);
     return dotGen.DotString;
 }
コード例 #2
0
        public static string ToDotString(this ImageAligner imageAligner, string graphName = "graph")
        {
            var dotGen = new DotVisualizer(graphName, imageAligner);

            return(dotGen.DotString);
        }
コード例 #3
0
 // Returns a string that can be used as input to Dot, part of graphviz.
 // Graphviz can be found here: http://www.graphviz.org/Download..php
 // To generate a processing graph in PDF-format, save the returned string to a file graph.dot, and do:
 // C:>dot -Tpdf graph.dot > graph.pdf
 public static string ToDotString(this IImageConsumer imageConsumer, string graphName = "graph")
 {
     var dotGen = new DotVisualizer(graphName, imageConsumer);
     return dotGen.DotString;
 }