CodeGraphRelationshipToJSON() — typescript-sdk Function Reference
Architecture documentation for the CodeGraphRelationshipToJSON() function in CodeGraphRelationship.ts from the typescript-sdk codebase.
Entity Profile
Relationship Graph
Source Code
src/models/CodeGraphRelationship.ts lines 83–95
export function CodeGraphRelationshipToJSON(value?: CodeGraphRelationship | null): any {
if (value == null) {
return value;
}
return {
'id': value['id'],
'type': value['type'],
'startNode': value['startNode'],
'endNode': value['endNode'],
'properties': value['properties'],
};
}
Domain
Subdomains
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free