@graphty/graphty-element / index / projectFileName
Function: projectFileName() ​
projectFileName(
name):string
Defined in: graphty-element/src/session/projectFile.ts:1217
The file name the element gives a project: <name>.graphty.json, or project.graphty.json for a project with no name. Opening a file with that name gives a named project its name back.
Parameters ​
name ​
string | null | undefined
The project's name, such as session.project.name; blank or null for none.
Returns ​
string
The file name.