@graphty/graphty-element / index / ExportLossCode
Type Alias: ExportLossCode ​
ExportLossCode =
CodesOf<typeofLOSS> |CodesOf<typeofCSV_LOSS> |CodesOf<typeofCX_LOSS> |CodesOf<typeofCX2_LOSS> |CodesOf<typeofCYS_LOSS> |CodesOf<typeofDOT_LOSS> |CodesOf<typeofGEXF_LOSS> |CodesOf<typeofGML_LOSS> |CodesOf<typeofGRAPHML_LOSS> |CodesOf<typeofJSON_LOSS> |CodesOf<typeofNEO4J_LOSS> |CodesOf<typeofPAJEK_LOSS> |CodesOf<typeofXGMML_LOSS> |"W_GRAPHTY_COLUMN_DROPPED"|"W_GRAPHTY_NOTES"|"W_GRAPHTY_TRUNCATED"|"W_GRAPHTY_CSV_NEUTRALIZED"|"W_WEIGHT_NOT_NUMERIC"|"W_RESULT_FIELD_DROPPED"|ExportStyleLossCode
Defined in: graphty-element/src/data/export.ts:118
What a built-in writer could not carry, as the code of an ExportLoss: the codes of graph-io's loss tables for the formats graphty-element writes (LOSS, shared by every format, and CSV_LOSS, CX_LOSS, CX2_LOSS, CYS_LOSS, DOT_LOSS, GEXF_LOSS, GML_LOSS, GRAPHML_LOSS, JSON_LOSS, NEO4J_LOSS, PAJEK_LOSS, XGMML_LOSS, each documenting its codes), and graphty-element's own:
W_GRAPHTY_COLUMN_DROPPED: a loaded column under the reservedgraphty.root is left out.W_GRAPHTY_NOTES: the session holds notes, which no format holds as notes;countnotes.W_GRAPHTY_TRUNCATED:graphty.notes.textcells cut to 64 KB;countcells.W_GRAPHTY_CSV_NEUTRALIZED: CSV cells a spreadsheet would run as a formula, prefixed with an apostrophe;countcells.W_WEIGHT_NOT_NUMERIC: edge weights that are not numbers, not written;countedges.W_RESULT_FIELD_DROPPED: an algorithm result field no column could hold.- The style codes of ExportStyleLossCode: each names its
target(node,edgeorgraph) andproperty(a neutral property such asfill, orgraphty:<channel>for a channel only graphty draws, which then also names thatchannel, such asnode.labelColor) where it is about one;W_STYLE_NOT_WRITTENcounts the elements that carry a value,W_STYLE_RULES_NOT_KEPTthe rules,W_STYLES_NOT_EXPORTEDthe layers an export withoutstyles: trueleft out, andW_STYLE_LAYER_FLATTENEDaddslayer(its name) andreason(SCALE: a palette or a scale the format cannot express;RESULT_PATH: it reads a value the file does not hold, such as an algorithm result).
A code starting E_ means the writer refuses this graph under these options: text() and bytes reject. W_ means the file is written but that part does not read back the same.