ExportToJSONOptions
Options for GraphApi's exportToJSON.
Properties​
includeDefaults?​
readonly optional includeDefaults?: boolean;
When true, every attribute is kept (defaults included) and no
empty-attribute pruning is applied. The default minimal output strips
attributes that match each cell's defaults and prunes empty {}
(except inside attrs at depth 3, e.g. attrs.text.textWrap: {}, which
JointJS treats as a meaningful reset marker).
Default​
false