-
Notifications
You must be signed in to change notification settings - Fork 199
fix: edge handlers use style.edgeStyle #78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The GitHub action didn't detect the issue earlier but I can see the tsc error in my IDE 😢
So thanks @cd-yang for the detection of the problem and your contribution!
The CellStateStyles edge property has been renamed into edgeStyle in https://github.com/maxGraph/maxGraph/pull/77/files#diff-4c2458380e50c967c70d7afe819dc7412180f9f817043f27441de3498e4d0479
So EdgeHandler and ElbowEdgeHandler should be updated instead of using a new property that is never set elsewhere.
|
I have been able to detect the issue by also running |
|
I removed |
|
Thanks @cd-yang for the changes, this looks fine now. |
Summary
Property 'edge' does not exist on type 'CellStateStyles', which is used in file 'ElbowEdgeHandler' and 'EdgeHandler'
Description for the changelog
Added 'edge' property to 'CellStateStyles'.Use the
edgeStyleproperty ofCellStateStylesinElbowEdgeHandlerandEdgeHandler.