Class DOTSerializer
java.lang.Object
org.graffiti.plugin.io.AbstractOutputSerializer
org.graffiti.plugins.ios.exporters.graphviz.DOTSerializer
- All Implemented Interfaces:
 OutputSerializer,Serializer
public class DOTSerializer extends AbstractOutputSerializer
A very very simple writer for a graph in the dot format for
 Graphviz. The
 only exported attribute are labels.
- Version:
 - $Revision: 1.9 $ $Date: 2010/12/22 13:06:28 $
 
- 
Constructor Summary
Constructors Constructor Description DOTSerializer() - 
Method Summary
Modifier and Type Method Description String[]getExtensions()The file extensions the serializer can read or write.String[]getFileTypeDescriptions()The file type descriptions of the files the serializer can read or write.static DimensiongetMaximumXY(Collection<?> nodeList, double factorXY, int minx, int miny, boolean includeSizeInformation)static voidsetNextOrientationTopBottom(boolean topBottom)booleanvalidFor(Graph g)As standard, an output serializer will be valid writer for any type of graphvoidwrite(OutputStream out, Graph g)Writes the contents of the given graph to a stream.Methods inherited from class org.graffiti.plugin.io.AbstractOutputSerializer
write 
- 
Constructor Details
- 
DOTSerializer
public DOTSerializer() 
 - 
 - 
Method Details
- 
getExtensions
Description copied from interface:SerializerThe file extensions the serializer can read or write.- Returns:
 - DOCUMENT ME!
 
 - 
getFileTypeDescriptions
Description copied from interface:SerializerThe file type descriptions of the files the serializer can read or write.- Returns:
 - DOCUMENT ME!
 
 - 
validFor
Description copied from class:AbstractOutputSerializerAs standard, an output serializer will be valid writer for any type of graph- Specified by:
 validForin interfaceOutputSerializer- Overrides:
 validForin classAbstractOutputSerializer- Parameters:
 g- The graph to be serialized- Returns:
 
 - 
write
Description copied from interface:OutputSerializerWrites the contents of the given graph to a stream.- Parameters:
 out- The output stream to save the graph to.g- The graph to save.
 - 
getMaximumXY
public static Dimension getMaximumXY(Collection<?> nodeList, double factorXY, int minx, int miny, boolean includeSizeInformation) - 
setNextOrientationTopBottom
public static void setNextOrientationTopBottom(boolean topBottom) 
 -