On Tue, 9 May 2023 04:11:03 GMT, Chen Liang <li...@openjdk.org> wrote:
> `@sealedGraph` had a mechanism to render non-sealed classes differently, but > it's useless because the graph nodes are not bordered. This patch converts > the non-sealed classes to be rendered in italics instead. > > An example of `ConstantDesc`, which has a sealed hierarchy except > `DynamicConstantDesc`: > JDK 20: >  > > This patch: >  Thanks for this improvement suggestion. Indicating "openness" is certainly important. I was playing around with various ways of expressing it and came up with this:  What is your opinion on it? It might be slightly more intuitive? We could even do this:  Here is the code: digraph G { shape="none" rankdir = "BT" ClassDesc -> ConstantDesc MethodHandleDesc -> ConstantDesc DirectMethodHandleDesc -> MethodHandleDesc DynamicConstantDesc -> ConstantDesc Float -> ConstantDesc Hidden1 -> DynamicConstantDesc [style="dashed"] Hidden1 [label="<any>"] ClassDesc [shape=none]; ConstantDesc [shape=none]; MethodHandleDesc [shape=none]; DynamicConstantDesc [shape=none]; DirectMethodHandleDesc [shape=none]; Float [shape=none]; Hidden1 [shape=none]; } ------------- PR Comment: https://git.openjdk.org/jdk/pull/13877#issuecomment-1547278887