-
-
Notifications
You must be signed in to change notification settings - Fork 382
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add ctxRenderer return width/height to calculate node sizes pro…
…perly (#950) * Add initial custom shape * add better way to add custom shape * fill shape only when not custom * add custom shape example * add selected and hover states * Fix comments from CR * add docs * fix docs * fix cr comments * fix: Add label to ctxRenderer * fix: return after custom shape is drawn * fix line * fix: add ctxRenderer and shape 'custom' to options * fix ctxRenderer option validation name * fix node sizing for custom shapes * fix nodeDimensions to customShape * fix example * fix comments from CR * fix docs * fix docs * fix docs again * revert formatting * revert formatting * revert formatting * revert bounding box * revert bounding box * Add edge to shape with custom shape
- Loading branch information
Showing
4 changed files
with
111 additions
and
25 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
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