KIELER Layout AlgorithmsDownload:
Java class library for automatic graph layout. Contains algorithms from the KLay project, which use the KGraph data structure as interface. The algorithms can be built into any Java program in order to calculate nice two-dimensional layouts of graph-like structures. Ptolemy is an example of such a Java program where KLay has been integrated for automatic layout of actor diagrams.
KIELER Web Service Tool
Command-line tool for graph layout using the KIELER graph layout service. Use the help command-line argument for usage information. Service meta-data information, including a list of algorithms, options, and file formats, are available at http://layout.rtsys.informatik.uni-kiel.de:9444/index.html. If unambiguous, it is sufficient to write only the last segment of layout option, algorithm, and file format identifiers.
Example usage: To send the file kennedyanc.dot to the server and write the result to kennedyanc_out.svg, use the following command:
java -jar kwebs.jar infile=kennedyanc.dot outfile=kennedyanc_out.svg
In this case the input file format is automatically recognized as Graphviz Dot and the output file format is recognized as SVG from the file extensions. If you only need graph format conversion without layout, use the option --noLayout.
The package can also be used as a Java class library: use de.cau.cs.kieler.kwebs.tools.ConsoleClient.connect(String) to create a layout service port. For example, to request layout on the graph "graph" at the server address "server", use:
ConsoleClient.connect(server).graphLayout(graph, informat, outformat, options);
The strings "informat" and "outformat" are the graph format identifiers for input and output, respectively, and "options" is a list of "GraphLayoutOption" instances, which are used to map layout option identifiers to specific values (use Collections.emptyList() for default values). The output graph format may be null, in which case the output format is the same as the input format.
KIELER software is made available under the Eclipse Public License, except for some integrated third-party components. KIELER can be used independently from OGDF, Libavoid, and Ptolemy, but depends on the Google Guava library.