RFR: 8343705: IGV: Interactive Node Moving in Hierarchical Layout

Tobias Hartmann thartmann at openjdk.org
Thu Nov 28 12:50:38 UTC 2024


On Thu, 28 Nov 2024 08:57:08 GMT, Tobias Holenstein <tholenstein at openjdk.org> wrote:

> This PR depends on https://github.com/openjdk/jdk/pull/22402 and also includes the code of the depending PR.
> Checkout this PR locally:
> `git fetch https://git.openjdk.org/jdk.git pull/22430/head:pull/22430`
> `git checkout pull/22430`
> 
> Enhance IGV with an interactive feature that allows the user to move nodes within the layout by dragging them to new positions.
> 
> Manual adjusting the node layout will help the user better understand the graph structure. When users drag nodes, connections will dynamically adjust to maintain the graph structure, and nodes will stay in their new positions until the layout is reset.
> 
> 
> 
> <img width="548" alt="1" src="https://github.com/user-attachments/assets/f3813b3c-8e02-4b60-bbbf-d112c72535a1">
> 
> <img width="419" alt="2" src="https://github.com/user-attachments/assets/ac2a794c-f5f2-4857-a9cb-836d36dc27bf">
> 
> <img width="329" alt="3" src="https://github.com/user-attachments/assets/869b221f-d44f-40a4-9b20-3d0f45ec3550">

I thoroughly tested this with a few complex graphs and it works great. This is an awesome enhancement!

-------------

Marked as reviewed by thartmann (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/22430#pullrequestreview-2468066200


More information about the hotspot-compiler-dev mailing list