feat: add add menu

This commit is contained in:
2024-03-21 01:23:08 +01:00
parent 84bcfa61d8
commit e80ecd2302
11 changed files with 278 additions and 70 deletions

View File

@@ -41,5 +41,8 @@ export class MemoryNodeRegistry implements NodeRegistry {
getNode(id: string): NodeType | undefined {
return nodeTypes.find((nodeType) => nodeType.id === id);
}
getAllNodes(): NodeType[] {
return [...nodeTypes];
}
}