Class GraphTool


  • public class GraphTool
    extends Object

    This class is the main class if the Jar is run directly. It takes the list of files as arguments, and converts each one in turn to an image containing the equivalent graph.

    The format of the image may be controlled by the --format argument and the background color set with the "--bg" argument. Input files are specified as filenames, URL's or the value "-", which will read the XML from stdin and write to stdout. The "-q" option will supress the file creation information written to stderr.

    Example Usage:

     java -jar bfograph.jar xml/*.xml
     java -jar bfograph.jar http://big.faceless.org/products/graph/test.xml
     java -jar bfograph.jar --format=svg --bg=#FFEEEE test.xml
     java -jar bfograph.jar --format=png256 - < input.xml > output.png
     
    Since:
    2.3.5
    • Constructor Detail

      • GraphTool

        public GraphTool()