@graphty/graphty-element / index / SourceFile
Interface: SourceFile ​
Defined in: graph-io/dist/src/sources/types.d.ts:119
What a file source returns: a body the format importers read. Experimental.
Properties ​
body ​
readonlybody:ImportInput|Response
Defined in: graph-io/dist/src/sources/types.d.ts:121
A fetch Response (streamed) or any importer input.
filename? ​
readonlyoptionalfilename?:string
Defined in: graph-io/dist/src/sources/types.d.ts:125
A file name hint for detection.
format? ​
readonlyoptionalformat?:string
Defined in: graph-io/dist/src/sources/types.d.ts:123
The format ("cx2"), or omitted to detect it.
meta? ​
readonlyoptionalmeta?:Readonly<Record<string,unknown>>
Defined in: graph-io/dist/src/sources/types.d.ts:129
Graph facts the file itself does not hold, written after it is read, as RecordBatch.meta.
mimeType? ​
readonlyoptionalmimeType?:string
Defined in: graph-io/dist/src/sources/types.d.ts:127
A MIME type hint for detection.