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

Layout nodes without position #8326

Merged
merged 4 commits into from
Nov 20, 2023
Merged

Layout nodes without position #8326

merged 4 commits into from
Nov 20, 2023

Conversation

somebody1234
Copy link
Contributor

@somebody1234 somebody1234 commented Nov 20, 2023

Pull Request Description

Important Notes

There is currently no way to predict the width a node, taking into account the width of widgets.
This should probably be done in another task.

Screenshots

Fresh file originally lacking metadata - nodes are no longer overlapping:

image

Automatic layout of new node added through Code Editor:

image

Checklist

Please ensure that the following checklist has been satisfied before submitting the PR:

  • The documentation has been updated, if necessary.
  • Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
  • All code follows the
    Scala,
    Java,
    and
    Rust
    style guides. In case you are using a language not listed above, follow the Rust style guide.
  • All code has been tested:
    • Unit tests have been written where possible.
    • If GUI codebase was changed, the GUI was tested when built using ./run ide build.

@somebody1234 somebody1234 added CI: No changelog needed Do not require a changelog entry for this PR. -gui labels Nov 20, 2023
@somebody1234 somebody1234 requested a review from Frizi as a code owner November 20, 2023 08:57
app/gui2/src/stores/graph/graphDatabase.ts Outdated Show resolved Hide resolved
@somebody1234 somebody1234 added the CI: Ready to merge This PR is eligible for automatic merge label Nov 20, 2023
@somebody1234
Copy link
Contributor Author

oops, type error...

@mergify mergify bot merged commit 375e610 into develop Nov 20, 2023
28 of 29 checks passed
@mergify mergify bot deleted the wip/sb/layout-nodes branch November 20, 2023 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
-gui CI: No changelog needed Do not require a changelog entry for this PR. CI: Ready to merge This PR is eligible for automatic merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Layout of nodes without position.
2 participants