-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
edge.isBundledBezier()
should return false for styleless instance
- The internal style function, `ele.isBundledBezier()` will not work in a styleless instance, because `ele.pstyle()` will always return `undefined`. It should have a check like the other style functions. Most of these functions are derived state functions, which have this check implicitly. - `edge.isBundledBezier()` is only used in a few places. The only place that would affect a headless instance is `ele.remove()`. - This patch includes a fix and several test cases. Ref : Removing parallel edges in headless mode #2377
- Loading branch information
Showing
3 changed files
with
77 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters