fcmodeler.io
Interface GraphWriter

All Known Subinterfaces:
DotGraphWriter
All Known Implementing Classes:
AbstractGraphWriter

public interface GraphWriter

An interface for classes that can write a graph in some text format.

Since:
JDK1.3
Version:
$Revision: 1.3 $
Author:
Zach Cox

Method Summary
 boolean isWritingCoordinates()
           
 boolean isWritingMappings()
           
 boolean isWritingTopology()
           
 void writeCoordinates(boolean write)
           
 void writeGraph(FCModeler fcmodeler, java.io.Writer writer)
          Writes the specified graph to the specified output.
 void writeMappings(boolean write)
           
 void writeTopology(boolean write)
           
 

Method Detail

isWritingCoordinates

public boolean isWritingCoordinates()

isWritingMappings

public boolean isWritingMappings()

isWritingTopology

public boolean isWritingTopology()

writeCoordinates

public void writeCoordinates(boolean write)

writeGraph

public void writeGraph(FCModeler fcmodeler,
                       java.io.Writer writer)
Writes the specified graph to the specified output.
Parameters:
graph - the graph to write.
writer - the output where the graph in text format will go.

writeMappings

public void writeMappings(boolean write)

writeTopology

public void writeTopology(boolean write)