com.mxgraph.io.gd
Class mxGdDocument
java.lang.Object
  
com.mxgraph.io.gd.mxGdDocument
public class mxGdDocument
- extends Object
 
This class is a representation of a GD file.
 Allows access to the nodes and edges of the graph.
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
mxGdDocument
public mxGdDocument()
getEdges
public List<mxGdEdge> getEdges()
- Returns:
 - Returns the list of edges.
 
 
getNodes
public List<mxGdNode> getNodes()
- Returns:
 - Returns the list of nodes.
 
 
setEdges
public void setEdges(List<mxGdEdge> edges)
 
setNodes
public void setNodes(List<mxGdNode> nodes)
 
parse
public void parse(String gd)
- Parses the String with the file content and loads into the document,
 the data of nodes and edges.
- Parameters:
 gd - String with the file content.
 
 
getDocumentString
public String getDocumentString()
- Returns:
 - Returns the String representation of the document.
 
 
Copyright (c) 2010 Gaudenz Alder. All rights reserved.