From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: d3js chord diagrams Date: Tue, 25 Oct 2016 18:29:05 +0200 Message-ID: <87bmy8z92m.fsf@gnu.org> References: <87zilxtkvp.fsf@elephly.net> <87h980ajkp.fsf@gnu.org> <87oa28hfjk.fsf@elephly.net> <878ttc7fr1.fsf@gnu.org> <87k2cwh7nm.fsf@elephly.net> 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]:48085) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bz4b9-0005AV-22 for guix-devel@gnu.org; Tue, 25 Oct 2016 12:29:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bz4b5-0000La-Vo for guix-devel@gnu.org; Tue, 25 Oct 2016 12:29:11 -0400 In-Reply-To: <87k2cwh7nm.fsf@elephly.net> (Ricardo Wurmus's message of "Tue, 25 Oct 2016 15:37:01 +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" To: Ricardo Wurmus Cc: guix-devel Ricardo Wurmus skribis: > Ludovic Court=C3=A8s writes: [...] >>> Does this mean that the generated HTML document would have to be a gexp >>> referencing the file in the store? (I=E2=80=99m not sure how to implem= ent >>> this, but with a pointer or two I could give it a try anyway.) >> >> Yes, the HTML document would be generated in the store, [=E2=80=A6] > > Hmm, so each time I run =E2=80=9Cguix graph=E2=80=9D the resulting HTML d= ocument ends up > in the store. I was hoping to avoid this, actually, but since the HTML > file is pretty small (when d3.js is not embedded) I guess it=E2=80=99s fi= ne. Well I realized that graph backends are expected to emit their output to a port, so the HTML file would have to be written to that port anyway. Ludo=E2=80=99.