RFR: 7831: Add new view for hierarchical edge bundling [v14]
Alex Ciminian
duke at openjdk.org
Fri Aug 5 19:14:12 UTC 2022
On Fri, 5 Aug 2022 19:04:34 GMT, Brice Dutheil <duke at openjdk.org> wrote:
>> Joint effort with @cimi to provide _hierarchical edge_ visualization to JMC.
>>
>> 
>>
>> Here when the mouse hovers `java.util.concurrent` on the bottom right. One can see the relations with other packages.
>>
>>
>> Based on the preliminary work of @cimi here : https://observablehq.com/@cimi/jfr-graph-hierarchical-edge-bundling
>
> Brice Dutheil has updated the pull request incrementally with one additional commit since the last revision:
>
> Add newlines to end of all files
I've renamed the plugin to `dependencyview`, added the chord diagram and made it the default.
It now looks like this:
<img width="2672" alt="Screenshot 2022-08-05 at 20 05 20" src="https://user-images.githubusercontent.com/348973/183144613-e72530c9-bbc1-46d6-8ad8-7adc3f5f293d.png">
The chord diagram prunes the edges it renders depending on the window size - when edges are hidden we display a warning message in the top right corner of the window.
The hierarchical edge view now fits in the window, rendering at the same size as the chord diagram. This prevents overflow and scrolling.
<img width="2672" alt="Screenshot 2022-08-05 at 20 08 53" src="https://user-images.githubusercontent.com/348973/183144871-802f56db-e07c-4820-8e34-94851d4d2cf4.png">
-------------
PR: https://git.openjdk.org/jmc/pull/405
More information about the jmc-dev
mailing list