Mon 21 Jul 22:43:21 CEST 2025
This commit is contained in:
parent
cc8fe8c269
commit
02766b6ae7
28
js/ui/mxgraph/src/js/io/mxGraphCodec.js
Normal file
28
js/ui/mxgraph/src/js/io/mxGraphCodec.js
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) 2006-2015, JGraph Ltd
|
||||||
|
* Copyright (c) 2006-2015, Gaudenz Alder
|
||||||
|
*/
|
||||||
|
mxCodecRegistry.register(function()
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Class: mxGraphCodec
|
||||||
|
*
|
||||||
|
* Codec for <mxGraph>s. This class is created and registered
|
||||||
|
* dynamically at load time and used implicitely via <mxCodec>
|
||||||
|
* and the <mxCodecRegistry>.
|
||||||
|
*
|
||||||
|
* Transient Fields:
|
||||||
|
*
|
||||||
|
* - graphListeners
|
||||||
|
* - eventListeners
|
||||||
|
* - view
|
||||||
|
* - container
|
||||||
|
* - cellRenderer
|
||||||
|
* - editor
|
||||||
|
* - selection
|
||||||
|
*/
|
||||||
|
return new mxObjectCodec(new mxGraph(),
|
||||||
|
['graphListeners', 'eventListeners', 'view', 'container',
|
||||||
|
'cellRenderer', 'editor', 'selection']);
|
||||||
|
|
||||||
|
}());
|
Loading…
Reference in New Issue
Block a user