public class mxGdCodec extends 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 HashMap<String,Object> |
cellsMap
Map with the vertex cells added in the addNode method.
|
Constructor and Description |
---|
mxGdCodec() |
Modifier and Type | Method and Description |
---|---|
static void |
decode(String input,
mxGraph graph)
Parses simple GD format and populate the specified graph
|
static String |
encode(mxGraph graph)
Generates a GD text output with the cells in the graph.
|
Copyright (c) 2010 Gaudenz Alder, David Benson. All rights reserved.