@graphty/graph-io / @graphty/graph-io / ImportFormatDefaults
Interface: ImportFormatDefaults ​
Defined in: common/options.ts:26
The defaults an importer supplies for the options whose default is per format.
Properties ​
addMissingNodes? ​
readonlyoptionaladdMissingNodes?:boolean
Defined in: common/options.ts:34
Whether edges may reference undeclared nodes; true unless the format says otherwise (GEXF: false).
defaultDirected ​
readonlydefaultDirected:boolean
Defined in: common/options.ts:30
The direction assumed when the file declares none.
ids ​
readonlyids:IdCoercion
Defined in: common/options.ts:28
"canonical" for text-cell formats, "keep" for JSON.
weightFrom ​
readonlyweightFrom:string|null
Defined in: common/options.ts:32
The attribute that becomes the weight ("weight", GML "value"), or null for an unweighted format.