From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: New =?utf-8?B?4oCYZ3VpeCBncmFwaOKAmQ==?= command Date: Thu, 27 Aug 2015 13:26:37 +0200 Message-ID: <87io812cr6.fsf@gnu.org> References: <87io8164s0.fsf@gnu.org> <87egipgfr3.fsf@openmailbox.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33809) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUvKO-00065D-VZ for Guix-devel@gnu.org; Thu, 27 Aug 2015 07:26:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZUvKO-0003yY-2X for Guix-devel@gnu.org; Thu, 27 Aug 2015 07:26:44 -0400 In-Reply-To: <87egipgfr3.fsf@openmailbox.org> (Mathieu Lirzin's message of "Thu, 27 Aug 2015 12:58:08 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Mathieu Lirzin Cc: Guix-devel Mathieu Lirzin skribis: > Nice job, It is really convenient to have such utility. > > Does it sound feasible to produce different edge colors depending of the = type > of inputs? Of course! But this is left as an exercise to the reader. :-) Similarly, I thought we could use different color boxes based on the size of a store item, for the =E2=80=98references=E2=80=99 DAGs. It =E2=80=9Cjust needs=E2=80=9D adding an attribute argument to the =E2=80= =98emit-node=E2=80=99 and =E2=80=98emit-edges=E2=80=99 hooks of . I don=E2=80=99t pla= n to work on it in the near future but would definitely welcome patches. > Not really important, but IMO it would be clearer to define bag-emerged > in terms of what bag is doing with something like this. > > =E2=80=98bag=E2=80=99=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 > This is the package DAG, _including_ implicit inputs.=20=20=20=20=20= =20=20=20=20=20=20=20=20=20 >=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 > =E2=80=98bag-emerged=E2=80=99=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20 > Similar to =E2=80=98bag=E2=80=99, but this time without all the boot= strap > dependencies. > > For instance, the following command:=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 >=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 > guix graph --type=3Dbag-emerged coreutils | dot -Tpdf > dag.pdf= =20 >=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 > [...] > > What do you think? Perhaps this isn=E2=80=99t very clear but I wanted to list the graph types = in order of increasing complexity, which is why =E2=80=98bag=E2=80=99 comes af= ter =E2=80=98bag-emerged=E2=80=99. Dunno if something needs to be changed; tho= ughts? Thanks, Ludo=E2=80=99.