From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?QmrDtnJuIEjDtmZsaW5n?= Subject: Re: Extracting a reachability path out of a (package) DAG Date: Sun, 22 Jul 2018 21:18:48 +0200 Message-ID: <20180722211848.74aaf3fd@alma-ubu> References: <20180717101033.113807d5@alma-ubu> <20180717082424.qbvf4cv7omirkp2r@abyayala> <20180717123211.175f52ac@alma-ubu> <87lga4qmnq.fsf@gmail.com> <87sh4bm794.fsf@gmail.com> <8736wbt7ue.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/Jk4akJ/.8u0KXdcA9VwCxjq"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36168) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhJsr-0006Z2-Eq for guix-devel@gnu.org; Sun, 22 Jul 2018 15:19:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fhJsn-000351-Dz for guix-devel@gnu.org; Sun, 22 Jul 2018 15:19:09 -0400 Received: from m4s11.vlinux.de ([83.151.27.109]:46878 helo=bjoernhoefling.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhJsn-00034n-68 for guix-devel@gnu.org; Sun, 22 Jul 2018 15:19:05 -0400 In-Reply-To: <8736wbt7ue.fsf@gmail.com> 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" To: Pierre Neidhardt Cc: Guix-devel , Alex Kost --Sig_/Jk4akJ/.8u0KXdcA9VwCxjq Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sun, 22 Jul 2018 20:59:21 +0200 Pierre Neidhardt wrote: > Here is the output I get: >=20 > --8<---------------cut here---------------start------------->8--- > > > > > > > > [..] > src=3D"#f"> --8<---------------cut > here---------------end--------------->8--- >=20 > My terrible web-programming skills tell me it looks very suspicious... I was going to say "works for me too" and was in the process of creating an example with a guix container and icecat/guix in it. But exactly there it fails. Yes, src=3D"#f" is wrong, I sometimes (always in the container) can reproduce this. In the good case, that first one in the head should be "d3.v3.js". That can be found in the checked out guix source. The last one is "graph.js", also in the guix source. Here's the commit: commit 4d93f312f084c34a70cf7da3abe5f92a74d76861 Author: Ricardo Wurmus Date: Sat Oct 22 00:02:19 2016 +0200 graph: Add d3js backend. =20 * d3.v3.js, graph.js: New files. * Makefile.am (EXTRA_DIST): List them. * guix/graph.scm (%d3js-backend): New variable. (emit-d3js-prologue, emit-d3js-epilogue, emit-d3js-node, emit-d3js-edge): New procedures. (%graph-backends): Add %d3js-backend. I think if you copy both to your directory and adapt your html, then it should work. But maybe we should adapt the output html such that the js is fully included and is portable? Bj=C3=B6rn --Sig_/Jk4akJ/.8u0KXdcA9VwCxjq Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAltU2JgACgkQvyhstlk+X/2aOQCeIRywV2JVfxDc92nyRdU3fthr SloAnjBaxG1bS4QHIosXyyNVq4SZKTh8 =/HX1 -----END PGP SIGNATURE----- --Sig_/Jk4akJ/.8u0KXdcA9VwCxjq--