Optional
options: IDataManagerInitOptionsOptional
project: ProxyNodeExtendedcontains the nodes of the project
contains the Node relations
The function returns a JSON-ready object containing nodes, relations, meta, and structures.
an object with four properties: "nodes", "relations", "meta", and "structures". Each property contains an array of values.
Optional
addList?: undefinedOptional
addMeta?: undefinedOptional
addRelation?: undefinedOptional
deleteMeta?: undefinedOptional
deleteRelation?: undefinedOptional
getListByToken?: undefinedOptional
hasMeta?: undefinedOptional
hasRelation?: undefinedOptional
setList?: undefinedOptional
setMeta?: undefinedOptional
setRelation?: undefinedF1.2.2 Returns an array of nodes corresponding to the nodeType
The above code is a TypeScript function called queryNodeToStructure
. It takes in a starting
node and an optional node type as parameters.
Optional
nodeType: string
The NodeData class is responsible for managing nodes, relations, metadata, and structures in a TypeScript project.