(edgeId: ElementId)
| 391 | return data as Y.Map<unknown>; |
| 392 | } |
| 393 | protected getEdgeMap(edgeId: ElementId): Y.Map<unknown> { |
| 394 | const [label, uuid] = parseElementId(edgeId); |
| 395 | const collection = this.getEdgeCollectionMap(label); |
| 396 | const data = collection.get(uuid); |
| 397 | if (data == null) { |
| 398 | throw new EdgeNotFoundError(edgeId); |
| 399 | } |
| 400 | return data as Y.Map<unknown>; |
| 401 | } |
| 402 | |
| 403 | public updateProperty(id: ElementId, key: string, value: any): void { |
| 404 | const [label, uuid] = parseElementId(id); |
nothing calls this directly
no test coverage detected