Closed M-Wicenec closed 3 months ago
This pull request refactors the peek logic in the GraphRenderer and Field classes to distinguish between input and output peeks. It updates various methods and observables to support this change, modifies event handlers and data bindings in the HTML template, and ensures that port peeks are correctly reset and validated during drag operations.
Files | Changes |
---|---|
src/GraphRenderer.ts src/Field.ts |
Refactored peek logic to distinguish between input and output peeks, updating methods and observables accordingly. |
templates/base.html src/GraphRenderer.ts |
Updated data bindings and event handlers to support the new input and output peek logic. |
Summary by Sourcery
This pull request refactors the port peek functionality to differentiate between input and output peeks, enhances the port dragging logic to handle input and output ports more accurately, and adjusts port position calculations to consider node radius.