Skip to content

feat: let ignore the default style when computing the cell style - #443

Merged
tbouffard merged 5 commits into
mainfrom
feat/allow_to_ignoreDefaultStyle
Jun 6, 2024
Merged

feat: let ignore the default style when computing the cell style#443
tbouffard merged 5 commits into
mainfrom
feat/allow_to_ignoreDefaultStyle

Conversation

@tbouffard

@tbouffard tbouffard commented Jun 5, 2024

Copy link
Copy Markdown
Member

Update the Stylesheet story to demonstrate the new behavior.

The resources for migrating from mxGraph have been updated as well:

  • the migration guide
  • the codec that load the mxGraph model

Notes

Closes #154

Demo with the Stylesheet story

The "Interval 6" vertex is not using the default style.
So it is not rounded, is not using the same font (it uses maxGraph default font settings), doesn't have a perimeter (so the terminal point of the incoming edge is at the center of the vertex), ....

Styles _ Stylesheet - Default ⋅ Storybook

Update the Stylesheet story to demonstrate the new behavior.

The resources for migrating from mxGraph have been updated as well:
  - the migration guide
  - the codec that load the mxGraph model
@tbouffard tbouffard added the enhancement New feature or request label Jun 5, 2024
@tbouffard
tbouffard marked this pull request as ready for review June 5, 2024 14:38
@tbouffard
tbouffard merged commit 2abfabc into main Jun 6, 2024
@tbouffard
tbouffard deleted the feat/allow_to_ignoreDefaultStyle branch June 6, 2024 05:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a way to not use default style properties when computing cell style

1 participant