RFR: 8345041: IGV: Free Placement Mode in IGV Layout [v5]

Tobias Holenstein tholenstein at openjdk.org
Fri Nov 29 17:23:38 UTC 2024


On Fri, 29 Nov 2024 17:18:23 GMT, Tobias Holenstein <tholenstein at openjdk.org> wrote:

>> This PR depends on https://github.com/openjdk/jdk/pull/22430. To check out this PR locally: 
>> 
>> git fetch https://git.openjdk.org/jdk.git pull/22438/head:pull/22438
>> git checkout pull/22438
>> 
>> 
>> 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.
>> 
>> ![free](https://github.com/user-attachments/assets/c150334e-4d9f-4abf-97ea-3cb42bd1c602)
>
> Tobias Holenstein has updated the pull request incrementally with one additional commit since the last revision:
> 
>   prevent divison by zero

@chhagedorn reported the following bug:
Click `dynamic layout` -> `show all nodes` -> Bug: showing only lines

[broken.xml.zip](https://github.com/user-attachments/files/17961889/broken.xml.zip)

<img width="724" alt="Screenshot 2024-11-29 at 18 21 00" src="https://github.com/user-attachments/assets/e65a9694-6683-4c5e-9402-b3cc89e6a5b3">

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

PR Comment: https://git.openjdk.org/jdk/pull/22438#issuecomment-2508181402


More information about the hotspot-compiler-dev mailing list