Subject: Re: [bug#43477] [PATCH 0/1] guix: graph: Add 'plain' backend.

From: Ludovic Courtès <[email-masked]>
Date: Thu, 24 Sep 2020 16:44:15 +0200

Hi,

zimoun <[email-masked]> skribis:

> On Fri, 18 Sep 2020 at 14:33, Ricardo Wurmus <[email-masked]> wrote:
>
>> Is that still a graph, though…?
>
> I agree it is not a graph.  Instead of 'plain' the name could be
> 'list-nodes', or whatever.

What would be super useful is a tree representation, like so:

  guile
  + pkg-config
  + libgc
  |- pkg-config […]
  + gmp
  |- m4
  + libffi
  + bash-minimal

(With the right Unicode characters, of course.  :-))

The trick here is to identify already-visited sub-graphs, like
pkg-config above, and to not repeat them (for example, add ellipses as
in the example above).

Thoughts?

Ludo’.