guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Ludovic Courtès
Subject: [bug#43477] [PATCH 0/1] guix: graph: Add 'plain' backend.
Date: Thu, 24 Sep 2020 16:44:15 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Hi,

zimoun <zimon.toutoune@gmail.com> skribis:

> On Fri, 18 Sep 2020 at 14:33, Ricardo Wurmus <rekado@elephly.net> 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’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]