@graphty/graphty-element / index / ProjectOpenOptions
Interface: ProjectOpenOptions ​
Defined in: graphty-element/src/session/projectFile.ts:127
How project.open reads a file.
Properties ​
discard? ​
readonlyoptionaldiscard?:boolean
Defined in: graphty-element/src/session/projectFile.ts:132
Discard the session's unsaved changes: open a project over them. Without it, opening a project while project.dirty is true is refused with E_UNSAVED_CHANGES.
fileName? ​
readonlyoptionalfileName?:string
Defined in: graphty-element/src/session/projectFile.ts:134
The file's name, for the project's name when the file holds none. A File's own name is used otherwise.
limits? ​
readonlyoptionallimits?:object
Defined in: graphty-element/src/session/projectFile.ts:135
fileBytes? ​
readonlyoptionalfileBytes?:number
The largest file to read, in bytes. Default 256 MiB.