가장 가까운 핸들에 연결, 노드 간 1개의 엣지만 가능하게 수정 #201
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🔖 연관된 이슈
📂 작업 내용
📑 참고 자료 & 스크린샷 (선택)
edge-change-demo.mp4
📢 리뷰 요구사항 (선택)
data-id가 달려있더라구요..! 그래서 거기서getBoundingClientRect()을 했습니다. 노드width,height를 그대로 쓰는 것도 생각해봤는데 나중에 노드 크기가 다 다르면 안될 것 같아서요. 사실ref로 가져올 수 있으면 제일 좋긴 할텐데 방법을 못찾아서..