|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.io.graphml.layout.LayoutSerializationToolkit
public class LayoutSerializationToolkit
Provides utility methods for reading and writing geometry data in GraphML.
Method Summary | |
---|---|
static void |
parseNodeLayout(org.w3c.dom.Node root,
NodeLayout layout)
Configure the specified node layout from the data in the given XML node. |
static void |
parsePath(org.w3c.dom.Node root,
EdgeLayout layout)
Configure the specified edge layout from the data in the given XML node. |
static void |
writeNodeLayout(XmlWriter writer,
NodeLayout layout)
Writes the geometry data of the specified node layout. |
static void |
writePath(XmlWriter writer,
EdgeLayout layout)
Writes the path geometry of the specified edge layout. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void parseNodeLayout(org.w3c.dom.Node root, NodeLayout layout)
root
- The layout datalayout
- The node layout to configure.public static void parsePath(org.w3c.dom.Node root, EdgeLayout layout)
root
- The layout datalayout
- The edge layout to configure.public static void writeNodeLayout(XmlWriter writer, NodeLayout layout)
layout
- The node layout to be written.public static void writePath(XmlWriter writer, EdgeLayout layout)
layout
- The edge layout to be written.
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |