UNPKG

@maxgraph/core

Version:

maxGraph is a fully client side JavaScript diagramming library that uses SVG and HTML for rendering.

27 lines (26 loc) 631 B
import ObjectCodec from '../ObjectCodec.js'; import type Codec from '../Codec.js'; /** * Codec for {@link TerminalChange}s. * * This class is created and registered dynamically at load time and used implicitly via {@link Codec} and the {@link CodecRegistry}. * * Transient Fields: * * - model * - previous * * Reference Fields: * * - cell * - terminal * * @category Serialization with Codecs */ export declare class TerminalChangeCodec extends ObjectCodec { constructor(); /** * Restores the state by assigning the previous value. */ afterDecode(_dec: Codec, _node: Element, obj: any): any; }