Until we have a binary graph format, reduce file size by property name compression
cassinius opened this issue · 2 comments
cassinius commented
Until we have a binary graph format, reduce file size by property name compression
cassinius commented
- property name compression
- boolean -> 0/1
- weights.toFixed(4)
cassinius commented
DONE, except for weights (could reduce precision OR make files larger in case of toFixed()...).
Following .json property label keys have been introduced (label & edge label can both use the same digit since they occur in strictly separated namespaces):
export const labelKeys: Abbreviations = {
coords : 'c',
label : 'l',
features : 'f',
edges : 'e',
e_to : 't',
e_dir : 'd',
e_weight : 'w',
e_label : 'l'
};