com.mxgraph.io.gd
public class mxGdDocument extends Object
Modifier and Type | Class and Description |
---|---|
static class |
mxGdDocument.mxGDParseState
Represents the different states in the parse of a file.
|
Constructor and Description |
---|
mxGdDocument() |
Modifier and Type | Method and Description |
---|---|
String |
getDocumentString() |
List<mxGdEdge> |
getEdges() |
List<mxGdNode> |
getNodes() |
void |
parse(String gd)
Parses the String with the file content and loads into the document,
the data of nodes and edges.
|
void |
setEdges(List<mxGdEdge> edges) |
void |
setNodes(List<mxGdNode> nodes) |
public void parse(String gd)
gd
- String with the file content.public String getDocumentString()
Copyright (c) 2010 Gaudenz Alder. All rights reserved.