Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make graph specific properties persist and display on preview graph (#…
…1354) ## Summary: Previously, graph specific properties, like number of sides and snapTo type for polygons, did not appear in the preview graph and did not persist or actually affect the preview graph. This makes it so the options selected affect the preview graph. Issue: LEMS-2093 ## Test plan: - Pull up http://localhost:6006/?path=/story/perseuseditor-widgets-interactive-graph-editor--with-mafs - Play around with the different types of graphs and confirm the options affect the preview graph - Confirm moving the shape or lines around does not reset the options - Confirm all tests pass Author: Myranae Reviewers: nishasy, SonicScrewdriver, handeyeco Required Reviewers: Approved By: nishasy, nishasy Checks: ✅ gerald, ✅ codecov/project, ✅ codecov/patch, ✅ Upload Coverage (ubuntu-latest, 20.x), ⏭️ Publish npm snapshot, ✅ Cypress (ubuntu-latest, 20.x), ✅ Lint, Typecheck, Format, and Test (ubuntu-latest, 20.x), ✅ Jest Coverage (ubuntu-latest, 20.x), ✅ Check for .changeset entries for all changed files (ubuntu-latest, 20.x), ✅ Publish Storybook to Chromatic (ubuntu-latest, 20.x), ✅ Check builds for changes in size (ubuntu-latest, 20.x), ✅ gerald Pull Request URL: #1354
- Loading branch information