Skip to content
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

Adds a new parameter to unify SLD and NAD colors #112

Merged
merged 7 commits into from
Nov 13, 2024

Conversation

EstherDarkish
Copy link
Contributor

@EstherDarkish EstherDarkish commented Sep 16, 2024

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Does this PR already have an issue describing the problem?

What kind of change does this PR introduce?

What is the current behavior?

What is the new behavior (if this is a feature change)?

Does this PR introduce a breaking change or deprecate an API?

  • Yes
  • No

If yes, please check if the following requirements are fulfilled

  • The Breaking Change or Deprecated label has been added
  • The migration steps are described in the following section

What changes might users need to make in their application due to this PR? (migration steps)

Other information:

@EstherDarkish EstherDarkish requested review from AbdelHedhili, sBouzols and jamal-khey and removed request for AbdelHedhili October 17, 2024 12:49
Comment on lines 124 to 125
sldParameters.setStyleProviderFactory((n, s) -> diagParams.isTopologicalColoring() ?
new StyleProvidersList(new TopologicalStyleProvider(network, svgParameters), new HighlightLineStateStyleProvider(network)) :
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems strange to use network and svgParameters instead of n and s the parameters of the provider factory here. Maybe it will be the same objects, but seems incorrect.

Copy link
Contributor

@sBouzols sBouzols left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review OK
Tests done OK

Copy link

sonarcloud bot commented Nov 13, 2024

@EstherDarkish EstherDarkish merged commit 61165a0 into main Nov 13, 2024
4 checks passed
@EstherDarkish EstherDarkish deleted the unify_sld_colors branch November 13, 2024 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants