You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The type definition for the onSelect callback in the LassoSelect component is () => void but the real G6 behavior definition (defined here) is (nodes, edges)=>void.
Your Example Website or App
N/A
Steps to Reproduce the Bug or Issue
Use the LassoSelect component
Provide the onSelect callback and try to acces the selected nodes or edges.
Describe the bug
The type definition for the
onSelect
callback in the LassoSelect component is() => void
but the real G6 behavior definition (defined here) is(nodes, edges)=>void
.Your Example Website or App
N/A
Steps to Reproduce the Bug or Issue
Use the LassoSelect component
Provide the
onSelect
callback and try to acces the selected nodes or edges.Expected behavior
Should not get a typing error.
Screenshots or Videos
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: