We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 724c10c commit 73bcaceCopy full SHA for 73bcace
apps/backend/src/yjs/yjs.service.ts
@@ -197,10 +197,10 @@ export class YjsService
197
const edgeId = edge.id.toString(); // id를 string으로 변환
198
199
// Y.Map에 데이터를 삽입
200
- yMap.set(edgeId, {
+ yMap.set(`e${edge.fromNode.id}-${edge.toNode.id}`, {
201
id: edgeId,
202
- source: edge.fromNode.id,
203
- target: edge.toNode.id,
+ source: edge.fromNode.id.toString(),
+ target: edge.toNode.id.toString(),
204
sourceHandle: 'left',
205
targetHandle: 'left',
206
});
0 commit comments