Click or drag to resize

mxCodecEncodeCell Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Encoding of cell hierarchies is built-into the core, but is a higher-level function that needs to be explicitely used by the respective object encoders (eg. mxModelCodec, mxChildChangeCodec and mxRootChangeCodec). This implementation writes the given cell and its children as a (flat) sequence into the given node. The children are not encoded if the optional includeChildren is false. The function is in charge of adding the result into the given node and has no return value.

Namespace:  imbSCI.Graph.MXGraph.io
Assembly:  imbSCI.Graph (in imbSCI.Graph.dll) Version: 0.3.70.
Syntax
C#
public void EncodeCell(
	mxICell cell,
	XmlNode node,
	bool includeChildren
)
Request Example View Source

Parameters

cell
Type: imbSCI.Graph.MXGraph.modelmxICell
mxCell to be encoded.
node
Type: System.XmlXmlNode
Parent XML node to add the encoded cell into.
includeChildren
Type: SystemBoolean
Boolean indicating if the method should include all descendents
See Also