I'm not sure I believe that the current dot layout is or should be a
reliable part of the public API. if there's a better layout, use it. Unless
maybe devs are somewhere consuming the .dot files themselves to understand
the graph? I hope not, but you never know.

On Mon, Mar 24, 2025 at 10:53 PM Bear Giles <bgi...@coyotesong.com> wrote:

> The maven-dependency-plugin has a '.dot' option but because of the layout
> it's useless for anything other than the most trivial dependency trees.  I
> know we can't replace existing functionality but this could be added as
> "dot2", or a 'variant" property could be added to the mojo.
>
> There are some few obvious tweaks but some of them hit the limitations of
> the graphviz
> library, or at least my understand of it. However I think I have something
> very close to a good alternative to the standard layout - I just need to
> ask the graphviz people as question first.
>
> I've attached a sample pom and the generated png file. This is the pom I
> use for an application that creates a document listing the database
> metadata for multiple databases.
>
> Bear Giles
> [image: tree2.png]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org



-- 
Elliotte Rusty Harold
elh...@ibiblio.org

Reply via email to