-
Notifications
You must be signed in to change notification settings - Fork 876
feat(examples): add bezier-js integration example #2890
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
base: master
Are you sure you want to change the base?
Conversation
|
This PR is stale because it has been open 60 days with no activity. Please remove stale label or comment or this will be closed in 14 days. |
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.
Pull Request Overview
An example demonstrating how to integrate the bezier-js library with JointJS to create links with parallel segments of varying widths.
- Added a webpack configuration to bundle the example code.
- Introduced a new source file (index.js) implementing custom link rendering with bezier-js and JointJS.
- Provided an HTML template and documentation (README.md) for running the demo.
Reviewed Changes
Copilot reviewed 5 out of 8 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| examples/bezier-js/webpack.config.js | Standard webpack configuration for bundling the example. |
| examples/bezier-js/src/index.js | Implements bezier-js offset/outline paths for link rendering. |
| examples/bezier-js/index.html | Basic HTML template to load the bundled script. |
| examples/bezier-js/README.md | Documentation for setup and running the demo. |
Files not reviewed (3)
- examples/bezier-js/.gitignore: Language not supported
- examples/bezier-js/css/bezier.css: Language not supported
- examples/bezier-js/package.json: Language not supported
|
This PR is stale because it has been open 60 days with no activity. Please remove stale label or comment or this will be closed in 14 days. |
|
This PR is stale because it has been open 60 days with no activity. Please remove stale label or comment or this will be closed in 14 days. |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
This PR is stale because it has been open 60 days with no activity. Please remove stale label or comment or this will be closed in 14 days. |
Description
An example demonstrating how to use the
bezier-jslibrary to create a link with parallel segments of varying widths.There are currently several issues:
gapscreated by PolyBezier offsets at discontinuities (docs).