|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.layout.LayoutGraphWriter
public final class LayoutGraphWriter
This class writes out the basic layout and structure as well as existing grouping information of a LayoutGraph instance or a pair of Graph and GraphLayout instances in GML format. This class is for debugging purposes only and should not be used for production use.
Constructor Summary | |
---|---|
LayoutGraphWriter(Graph graph)
Creates a new instance of LayoutGraphWriter that writes out the structural Graph information only. |
|
LayoutGraphWriter(Graph graph,
GraphLayout layout)
Creates a new instance of LayoutGraphWriter that writes out the structural and layout information of the Graph and GraphLayout instances. |
|
LayoutGraphWriter(LayoutGraph graph)
Creates a new instance of LayoutGraphWriter that writes out the structural and layout information of the LayoutGraph. |
Method Summary | |
---|---|
void |
write(File file)
Write the graph to a File in GML Format which can be read e.g. by yEd. |
void |
write(String file)
Write the graph to a File in GML Format which can be read e.g. by yEd. |
void |
write(Writer writer)
Write the graph to a Writer in GML Format which can be read e.g. by yEd. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LayoutGraphWriter(Graph graph)
public LayoutGraphWriter(LayoutGraph graph)
public LayoutGraphWriter(Graph graph, GraphLayout layout)
Method Detail |
---|
public void write(String file) throws IOException
IOException
public void write(File file) throws IOException
IOException
public void write(Writer writer) throws IOException
IOException
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |