public class mxGdCodec
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
mxGdCodec.mxGDParseState
Represents the different states in the parse of a file.
|
| Modifier and Type | Field and Description |
|---|---|
protected static java.util.HashMap<java.lang.String,java.lang.Object> |
cellsMap
Map with the vertex cells added in the addNode method.
|
| Constructor and Description |
|---|
mxGdCodec() |
protected static java.util.HashMap<java.lang.String,java.lang.Object> cellsMap
public static void decode(java.lang.String input,
mxGraph graph)
input - GD file to be parsedgraph - Graph where the parsed graph is included.public static java.lang.String encode(mxGraph graph)
graph - Graph with the cells.Copyright (c) 2010 Gaudenz Alder. All rights reserved.