-
Notifications
You must be signed in to change notification settings - Fork 6.1k
8345041: IGV: Free Placement Mode in IGV Layout #22438
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
Conversation
This reverts commit 2f4e3fd.
|
👋 Welcome back tholenstein! A progress list of the required criteria for merging this PR into |
|
@tobiasholenstein This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be: You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 393 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. ➡️ To integrate this PR with the above commit message to the |
|
@tobiasholenstein The following label will be automatically applied to this pull request:
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command. |
Webrevs
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is really amazing, the feature. Really would make me start using IGV.
I scanned the code changes quickly, and it seems reasonable, at least to a non-IGV developer 😅
...ayout/src/main/java/com/sun/hotspot/igv/hierarchicallayout/FreeInteractiveLayoutManager.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Toby, I get the following assertion failure when I open the regular sea-of-nodes view of the attached graph free-placement-assertion-failure.zip and enable the "Simplify graph" and "Condense graph" filters:
I just checked and turns out this is a regression in #22402, please address it in that pull request. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test and performance results of this changeset (applied on top of 12332f2) look good.
this should be fixed now. The cause was numerical instability of |
|
Thanks @eme64, @robcasloz and @chhagedorn for testing and reviewing! /integrate delegate |
|
@tobiasholenstein Integration of this pull request has been delegated and may be completed by any project committer using the /integrate pull request command. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome enhancement! I've just tested it on Linux and it works very well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I re-tested and re-ran layout drawing performance tests, all good.
The feature would be even more useful, in my opinion, if the hand-made layouts would persist across graphs in a group and even across sessions (e.g. serializing the node coordinates as properties, similarly to JDK-8345039), but this could be done separately.
|
/integrate |
|
@robcasloz Your integration request cannot be fulfilled at this time, as the status check |
|
@tobiasholenstein This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
|
/integrate |
|
@tobiasholenstein This pull request has not yet been marked as ready for integration. |
|
Can someone please re-review? thanks! |
|
/integrate |
|
Going to push as commit e5f0c19.
Your commit was automatically rebased without conflicts. |
|
@tobiasholenstein Pushed as commit e5f0c19. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |



This PR depends on #22430. To check out this PR locally:
Introduce a Free Placement Mode to IGV, allowing users to position nodes freely without being limited to the hierarchical layout constraints.
In this mode, users can manually drag and place nodes anywhere within the space, giving them complete control over the visual arrangement of the graph. Connections between nodes will be rendered as straight (or S curved) lines, without recalculating or enforcing hierarchical constraints.
This feature is ideal for users who need a flexible, non-restrictive way to organize and visualize complex graph structures in a customized and intuitive manner. The free placement of nodes will remain persistent until the layout is reset or another layout mode is selected.
Progress
Warning
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/22438/head:pull/22438$ git checkout pull/22438Update a local copy of the PR:
$ git checkout pull/22438$ git pull https://git.openjdk.org/jdk.git pull/22438/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 22438View PR using the GUI difftool:
$ git pr show -t 22438Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/22438.diff
Using Webrev
Link to Webrev Comment