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

Add geographical layout for NAD #114

Merged
merged 9 commits into from
Apr 29, 2024
Merged

Conversation

tadam50
Copy link
Contributor

@tadam50 tadam50 commented Apr 18, 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?
'Fixes #113 '

@tadam50 tadam50 requested a review from So-Fras April 18, 2024 13:20
@tadam50 tadam50 self-assigned this Apr 18, 2024
@tadam50 tadam50 linked an issue Apr 18, 2024 that may be closed by this pull request
tadam50 added 3 commits April 18, 2024 15:20
Signed-off-by: Thomas ADAM <tadam@silicom.fr>
Signed-off-by: Thomas ADAM <tadam@silicom.fr>
Signed-off-by: Thomas ADAM <tadam@silicom.fr>
@tadam50 tadam50 force-pushed the 113-allow-change-of-layout-for-nad branch from b22921e to d02c30e Compare April 18, 2024 13:20
Signed-off-by: Thomas ADAM <tadam@silicom.fr>
@tadam50 tadam50 force-pushed the 113-allow-change-of-layout-for-nad branch from 1fc0748 to 6b33e5c Compare April 25, 2024 13:13
public LayoutFactory getLayoutFactory() {
return BASIC_LAYOUT.equals(layoutFactory.getValue()) ? new BasicForceLayoutFactory() : null;
public LayoutFactory getLayoutFactory(Network network) {
// FIXME : user must be able to customize positions
Copy link
Contributor

Choose a reason for hiding this comment

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

indeed! myabe we could have an open file dialog then, to choose a data file. But we still have to define the format. As this feature is already needed now in the viewer, let's keep that for later

flo-dup added 2 commits April 26, 2024 16:07
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
@flo-dup flo-dup changed the title Allow change of layout for NAD Add geographical layout for NAD Apr 26, 2024
@flo-dup flo-dup marked this pull request as ready for review April 26, 2024 14:09
flo-dup added 2 commits April 26, 2024 16:11
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Copy link

@flo-dup flo-dup dismissed So-Fras’s stale review April 29, 2024 07:37

So-Fras requests have been taken into account

@flo-dup flo-dup merged commit 75cdaf1 into main Apr 29, 2024
4 checks passed
@flo-dup flo-dup deleted the 113-allow-change-of-layout-for-nad branch April 29, 2024 07:38
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.

Allow change of layout for NAD
3 participants