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

Tobias Holenstein tholenstein at openjdk.org
Thu Nov 28 12:44:16 UTC 2024


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">

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

Depends on: https://git.openjdk.org/jdk/pull/22402

Commit messages:
 - Merge branch 'pr/22402' into JDK-8343705
 - 8343705: IGV: Interactive Node Moving in Hierarchical Layout

Changes: https://git.openjdk.org/jdk/pull/22430/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22430&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8343705
  Stats: 1300 lines in 9 files changed: 1287 ins; 3 del; 10 mod
  Patch: https://git.openjdk.org/jdk/pull/22430.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22430/head:pull/22430

PR: https://git.openjdk.org/jdk/pull/22430


More information about the hotspot-compiler-dev mailing list