|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.layout.LayoutGraphWriter
public final class LayoutGraphWriter
This class writes 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.
![]() |
![]() |
| Constructor Summary | |
|---|---|
LayoutGraphWriter(Graph graph)
Creates a new instance of LayoutGraphWriter that writes out only the structural information of the graph. |
|
LayoutGraphWriter(Graph graph,
GraphLayout layout)
Creates a new instance of LayoutGraphWriter that writes out structural and layout information of
the graph. |
|
LayoutGraphWriter(LayoutGraph graph)
Creates a new instance of LayoutGraphWriter that writes out structural and layout information of
the graph. |
|
| Method Summary | |
|---|---|
void |
write(java.io.File file)
Writes the graph to a file in GML format which can be read e.g. by yEd. |
void |
write(java.lang.String file)
Writes the graph to a file in GML format which can be read e.g. by yEd. |
void |
write(java.io.Writer writer)
Writes 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)
LayoutGraphWriter that writes out only the structural information of the graph.
graph - the graph to be writtenpublic LayoutGraphWriter(LayoutGraph graph)
LayoutGraphWriter that writes out structural and layout information of
the graph.
graph - the graph to be written containing layout information
public LayoutGraphWriter(Graph graph,
GraphLayout layout)
LayoutGraphWriter that writes out structural and layout information of
the graph.
graph - the graph to be writtenlayout - the layout information of the graph to be written| Method Detail |
|---|
public void write(java.lang.String file)
throws java.io.IOException
GML format which can be read e.g. by yEd.
file - the filename
java.io.IOException - if creating the file fails
public void write(java.io.File file)
throws java.io.IOException
GML format which can be read e.g. by yEd.
file - the file
java.io.IOException - if creating the file fails
public void write(java.io.Writer writer)
throws java.io.IOException
GML format which can be read e.g. by yEd.
writer - the writer
java.io.IOException - if creating the file fails
|
© Copyright 2000-2025, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||