From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 05 06:41:55 2018 Received: (at submit) by debbugs.gnu.org; 5 Mar 2018 11:41:55 +0000 Received: from localhost ([127.0.0.1]:45177 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1esoV9-00033w-4D for submit@debbugs.gnu.org; Mon, 05 Mar 2018 06:41:55 -0500 Received: from eggs.gnu.org ([208.118.235.92]:53200) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1esoV7-00033g-9g for submit@debbugs.gnu.org; Mon, 05 Mar 2018 06:41:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1esoV1-0005ig-2q for submit@debbugs.gnu.org; Mon, 05 Mar 2018 06:41:48 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:55012) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1esoV0-0005ia-Tf for submit@debbugs.gnu.org; Mon, 05 Mar 2018 06:41:47 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44165) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1esoUz-0003zO-Bk for guix-patches@gnu.org; Mon, 05 Mar 2018 06:41:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1esoUu-0005hX-FH for guix-patches@gnu.org; Mon, 05 Mar 2018 06:41:45 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:51356) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1esoUu-0005hD-59 for guix-patches@gnu.org; Mon, 05 Mar 2018 06:41:40 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3zvyfq0RBFz1qtdw for ; Mon, 5 Mar 2018 12:41:38 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 3zvyfp5x4Fz1sQwx for ; Mon, 5 Mar 2018 12:41:38 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id zrl0FrSamjfS for ; Mon, 5 Mar 2018 12:41:38 +0100 (CET) Received: from hermia.goebel-consult.de (ppp-83-171-155-123.dynamic.mnet-online.de [83.171.155.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Mon, 5 Mar 2018 12:41:38 +0100 (CET) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 82B4460584 for ; Mon, 5 Mar 2018 12:41:37 +0100 (CET) From: Hartmut Goebel To: guix-patches@gnu.org Subject: [PATCH 1/1] guix: graph: Add Trival Graph Format (TGF) backend. Date: Mon, 5 Mar 2018 12:41:36 +0100 Message-Id: <20180305114136.7207-1-h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.13.6 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) * guix/graph.scm ((emit-edge, emit-d3js-edge, emit-cypher-edge): New arguments label1 , label2. (emit-tg-progloug, mit-tgf-epilouge, emit-tgf-node, emit-tgf-edge): New variables. (%trivial-graph-backend): New variable. (%graph-backends): Add %trivial-graph-backend. (export-graph): Pass labels to emit-edge. --- guix/graph.scm | 40 ++++++++++++++++++++++++++++++++++------ 1 file changed, 34 insertions(+), 6 deletions(-) diff --git a/guix/graph.scm b/guix/graph.scm index d7fd5f3e4..650d577f6 100644 --- a/guix/graph.scm +++ b/guix/graph.scm @@ -46,6 +46,7 @@ %graph-backends %d3js-backend %graphviz-backend + %trival-graph-backend graph-backend? graph-backend graph-backend-name @@ -173,7 +174,7 @@ typically returned by 'node-edges' or 'node-back-edges'." (define (emit-node id label port) (format port " \"~a\" [label = \"~a\", shape = box, fontname = Helvetica];~%" id label)) -(define (emit-edge id1 id2 port) +(define (emit-edge id1 label1 id2 label2 port) (format port " \"~a\" -> \"~a\" [color = ~a];~%" id1 id2 (pop-color id1))) @@ -219,7 +220,7 @@ nodes[\"~a\"] = {\"id\": \"~a\", \"label\": \"~a\", \"index\": nodeArray.length} nodeArray.push(nodes[\"~a\"]);~%" id id label id)) -(define (emit-d3js-edge id1 id2 port) +(define (emit-d3js-edge id1 label1 id2 label2 port) (format port "links.push({\"source\": \"~a\", \"target\": \"~a\"});~%" id1 id2)) @@ -245,7 +246,7 @@ nodeArray.push(nodes[\"~a\"]);~%" (format port "MERGE (p:Package { id: ~s }) SET p.name = ~s;~%" id label )) -(define (emit-cypher-edge id1 id2 port) +(define (emit-cypher-edge id1 label1 id2 label2 port) (format port "MERGE (a:Package { id: ~s });~%" id1) (format port "MERGE (b:Package { id: ~s });~%" id2) (format port "MATCH (a:Package { id: ~s }), (b:Package { id: ~s }) CREATE UNIQUE (a)-[:NEEDS]->(b);~%" @@ -260,13 +261,32 @@ nodeArray.push(nodes[\"~a\"]);~%" ;;; +;;; Trivial graph export. +;;; + +(define (emit-tgf-prologue name port) #t) +(define (emit-tgf-epilogue port) #t) +(define (emit-tgf-node id label port) #t) +(define (emit-tgf-edge id1 label1 id2 label2 port) + (format port "~a ~a~%" label1 label2)) + +(define %trival-graph-backend + (graph-backend "tgf" + "Generate graph in Trivial Graph Format." + emit-tgf-prologue emit-tgf-epilogue + emit-tgf-node emit-tgf-edge)) + + + +;;; ;;; Shared. ;;; (define %graph-backends (list %graphviz-backend %d3js-backend - %cypher-backend)) + %cypher-backend + %trival-graph-backend)) (define* (export-graph sinks port #:key @@ -299,8 +319,16 @@ true, draw reverse arrows." (emit-node id (node-label head) port) (for-each (lambda (dependency dependency-id) (if reverse-edges? - (emit-edge dependency-id id port) - (emit-edge id dependency-id port))) + (emit-edge dependency-id + (node-label dependency) + id + (node-label head) + port) + (emit-edge id + (node-label head) + dependency-id + (node-label dependency) + port))) dependencies ids) (loop (append dependencies tail) (set-insert id visited))))))))))))) -- 2.13.6 From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 05 12:17:10 2018 Received: (at 30711) by debbugs.gnu.org; 5 Mar 2018 17:17:10 +0000 Received: from localhost ([127.0.0.1]:46149 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1estjY-0004YP-Q3 for submit@debbugs.gnu.org; Mon, 05 Mar 2018 12:17:10 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:39656) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1estjW-0004YH-UM for 30711@debbugs.gnu.org; Mon, 05 Mar 2018 12:17:07 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 6198912059; Mon, 5 Mar 2018 18:17:06 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PDfjBVbs3JBK; Mon, 5 Mar 2018 18:17:04 +0100 (CET) Received: from ribbon (unknown [193.50.110.134]) by hera.aquilenet.fr (Postfix) with ESMTPSA id B170510D8B; Mon, 5 Mar 2018 18:17:04 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Hartmut Goebel Subject: Re: [bug#30711] [PATCH 1/1] guix: graph: Add Trival Graph Format (TGF) backend. References: <20180305114136.7207-1-h.goebel@crazy-compilers.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 15 =?utf-8?Q?Vent=C3=B4se?= an 226 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 05 Mar 2018 18:17:04 +0100 In-Reply-To: <20180305114136.7207-1-h.goebel@crazy-compilers.com> (Hartmut Goebel's message of "Mon, 5 Mar 2018 12:41:36 +0100") Message-ID: <87h8pu8msv.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 30711 Cc: 30711@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Hi Hartmut, Hartmut Goebel skribis: > * guix/graph.scm ((emit-edge, emit-d3js-edge, emit-cypher-edge): New argu= ments > label1 , label2. > (emit-tg-progloug, mit-tgf-epilouge, emit-tgf-node, emit-tgf-edge): New > variables. > (%trivial-graph-backend): New variable. > (%graph-backends): Add %trivial-graph-backend. > (export-graph): Pass labels to emit-edge. Can you tell us more about the Trivial Graph Format? > -(define (emit-edge id1 id2 port) > +(define (emit-edge id1 label1 id2 label2 port) > (format port " \"~a\" -> \"~a\" [color =3D ~a];~%" > id1 id2 (pop-color id1))) This is orthogonal to adding a new format, so it should probably be a separate patch. > +(define (emit-tgf-edge id1 label1 id2 label2 port) > + (format port "~a ~a~%" label1 label2)) This is probably incorrect because labels do not necessarily uniquely identify nodes. This is why the API distinguishes node identifiers and labels. Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 05 16:12:49 2018 Received: (at 30711) by debbugs.gnu.org; 5 Mar 2018 21:12:49 +0000 Received: from localhost ([127.0.0.1]:46299 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1esxPd-0005p8-Ha for submit@debbugs.gnu.org; Mon, 05 Mar 2018 16:12:49 -0500 Received: from mail-out.m-online.net ([212.18.0.10]:53953) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1esxPb-0005p0-O0 for 30711@debbugs.gnu.org; Mon, 05 Mar 2018 16:12:48 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3zwCKp5Hgvz1qwJL; Mon, 5 Mar 2018 22:12:46 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 3zwCKp3kHkz1qqkh; Mon, 5 Mar 2018 22:12:46 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id AZ1LkAHDkt9h; Mon, 5 Mar 2018 22:12:45 +0100 (CET) Received: from hermia.goebel-consult.de (ppp-83-171-155-123.dynamic.mnet-online.de [83.171.155.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Mon, 5 Mar 2018 22:12:45 +0100 (CET) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 2DC2B6016F; Mon, 5 Mar 2018 22:12:45 +0100 (CET) Subject: Re: [bug#30711] [PATCH 1/1] guix: graph: Add Trival Graph Format (TGF) backend. To: =?UTF-8?Q?Ludovic_Court=c3=a8s?= References: <20180305114136.7207-1-h.goebel@crazy-compilers.com> <87h8pu8msv.fsf@gnu.org> From: Hartmut Goebel Organization: crazy-compilers.com Message-ID: Date: Mon, 5 Mar 2018 22:12:44 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <87h8pu8msv.fsf@gnu.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 30711 Cc: 30711@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Am 05.03.2018 um 18:17 schrieb Ludovic Courtès: > Can you tell us more about the Trivial Graph Format? This is a *very* simple format, see https://en.wikipedia.org/wiki/Trivial_Graph_Format. You can only define nodes, edges and labels. Edges are always directed. I don't know whether it is wide-spread. By chance I used it to import data into yEd (non-free, by chance mentioned in the Wikipedia-article), which allows to select quite some different graph layouts. So the first decision should be whether TFG should be included. (Alternativly, for importing into yEd, a simple GraphML should work, too.So I could implement that, which might be of more widespread use.) >> -(define (emit-edge id1 id2 port) >> +(define (emit-edge id1 label1 id2 label2 port) >> (format port " \"~a\" -> \"~a\" [color = ~a];~%" >> id1 id2 (pop-color id1))) > This is orthogonal to adding a new format, so it should probably be a > separate patch. Will split up, when TGF backend is accepted. >> +(define (emit-tgf-edge id1 label1 id2 label2 port) >> + (format port "~a ~a~%" label1 label2)) > This is probably incorrect because labels do not necessarily uniquely > identify nodes. This is why the API distinguishes node identifiers and > labels. Following you answer bug #30710 (graph gives duplicate edges) this is true and this implementation is wrong. TGF requires all nodes to be defined prior to any of their edges, otherwise the edge's Ids will be taken as labels. Thus the export-graph needs to be changed to first emit all nodes and then the edges. Due do my little guile-knowledge I did not manage to change the code accordingly. -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 06 05:32:38 2018 Received: (at 30711) by debbugs.gnu.org; 6 Mar 2018 10:32:38 +0000 Received: from localhost ([127.0.0.1]:46857 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1et9td-0000gH-VK for submit@debbugs.gnu.org; Tue, 06 Mar 2018 05:32:38 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:37034) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1et9tc-0000g9-31 for 30711@debbugs.gnu.org; Tue, 06 Mar 2018 05:32:36 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 0A53611A95; Tue, 6 Mar 2018 11:32:34 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kfBzWr9Zrsqw; Tue, 6 Mar 2018 11:32:32 +0100 (CET) Received: from ribbon (vpn-0-27.aquilenet.fr [IPv6:2a0c:e300:4:27::]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 55127115CE; Tue, 6 Mar 2018 11:32:32 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Hartmut Goebel Subject: Re: [bug#30711] [PATCH 1/1] guix: graph: Add Trival Graph Format (TGF) backend. References: <20180305114136.7207-1-h.goebel@crazy-compilers.com> <87h8pu8msv.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 16 =?utf-8?Q?Vent=C3=B4se?= an 226 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 06 Mar 2018 11:32:31 +0100 In-Reply-To: (Hartmut Goebel's message of "Mon, 5 Mar 2018 22:12:44 +0100") Message-ID: <87po4hxznk.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 30711 Cc: 30711@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Hi, Hartmut Goebel skribis: > Am 05.03.2018 um 18:17 schrieb Ludovic Court=C3=A8s: >> Can you tell us more about the Trivial Graph Format?=20 > > This is a *very* simple format, see > https://en.wikipedia.org/wiki/Trivial_Graph_Format. You can only define > nodes, edges and labels. Edges are always directed. I don't know whether > it is wide-spread. By chance I used it to import data into yEd > (non-free, by chance mentioned in the Wikipedia-article), which allows > to select quite some different graph layouts. > > So the first decision should be whether TFG should be included. I must say I=E2=80=99m skeptical, in large part because the dot format is already simple enough and implement by a number of graph-processing tools, not just Graphviz. > TGF requires all nodes to be defined prior to any of their edges, > otherwise the edge's Ids will be taken as labels. Thus the export-graph > needs to be changed to first emit all nodes and then the edges. Due do > my little guile-knowledge I did not manage to change the code accordingly. The issue is that the API currently assumes that backends are stateless: they can just emit a node or an edge anytime we ask them, without prior knowledge. That doesn=E2=80=99t work for TGF. TGF alone may not warrant a change in the backend API, if you ask me ;-), but there may be other things that would require the backend API to be less stupid. An ASCII rendering of the graph would need to be stateful, for instance. Needs more thought=E2=80=A6 Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 06 15:20:55 2018 Received: (at 30711-close) by debbugs.gnu.org; 6 Mar 2018 20:20:55 +0000 Received: from localhost ([127.0.0.1]:48049 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1etJ4w-0003it-8l for submit@debbugs.gnu.org; Tue, 06 Mar 2018 15:20:55 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:34688) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1etJ4t-0003ij-Q5 for 30711-close@debbugs.gnu.org; Tue, 06 Mar 2018 15:20:52 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3zwp7Q2V8fz1qtwq; Tue, 6 Mar 2018 21:20:50 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 3zwp7Q1VfKz1qqkK; Tue, 6 Mar 2018 21:20:50 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id IG5jK2QYVZAh; Tue, 6 Mar 2018 21:20:49 +0100 (CET) Received: from hermia.goebel-consult.de (ppp-93-104-162-164.dynamic.mnet-online.de [93.104.162.164]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Tue, 6 Mar 2018 21:20:49 +0100 (CET) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 325EA6015D; Tue, 6 Mar 2018 21:20:49 +0100 (CET) Subject: Re: [bug#30711] [PATCH 1/1] guix: graph: Add Trival Graph Format (TGF) backend. To: 30711-close@debbugs.gnu.org References: <20180305114136.7207-1-h.goebel@crazy-compilers.com> <87h8pu8msv.fsf@gnu.org> <87po4hxznk.fsf@gnu.org> From: Hartmut Goebel Organization: crazy-compilers.com Message-ID: <8a311dbb-676e-17ee-79df-d0ab52c6f752@crazy-compilers.com> Date: Tue, 6 Mar 2018 21:20:48 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <87po4hxznk.fsf@gnu.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 30711-close Cc: =?UTF-8?Q?Ludovic_Court=c3=a8s?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hi, I'm retracting this patch. The implementation is wrong, fixing it requires too many changes and the use is arguable. So we should not spend much tome on it. Thanks for reviewing and feedback :-) -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 06 16:05:30 2018 Received: (at 30711-close) by debbugs.gnu.org; 6 Mar 2018 21:05:30 +0000 Received: from localhost ([127.0.0.1]:48085 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1etJm6-0004lc-Ec for submit@debbugs.gnu.org; Tue, 06 Mar 2018 16:05:30 -0500 Received: from m4s11.vlinux.de ([83.151.27.109]:44172 helo=bjoernhoefling.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1etJm4-0004lS-GK for 30711-close@debbugs.gnu.org; Tue, 06 Mar 2018 16:05:28 -0500 Received: from alma-ubu (pD951FC9C.dip0.t-ipconnect.de [217.81.252.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by bjoernhoefling.de (Postfix) with ESMTPSA id 9FBA7408BE; Tue, 6 Mar 2018 22:05:26 +0100 (CET) Date: Tue, 6 Mar 2018 22:05:21 +0100 From: =?UTF-8?B?QmrDtnJuIEjDtmZsaW5n?= To: Hartmut Goebel Subject: Re: bug#30711: [PATCH 1/1] guix: graph: Add Trival Graph Format (TGF) backend. Message-ID: <20180306220521.555dd2a6@alma-ubu> In-Reply-To: <8a311dbb-676e-17ee-79df-d0ab52c6f752@crazy-compilers.com> References: <20180305114136.7207-1-h.goebel@crazy-compilers.com> <87h8pu8msv.fsf@gnu.org> <87po4hxznk.fsf@gnu.org> <8a311dbb-676e-17ee-79df-d0ab52c6f752@crazy-compilers.com> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/nqbkMcE_n=xbnx3j3g5At1d"; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 30711-close Cc: 30711-close@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) --Sig_/nqbkMcE_n=xbnx3j3g5At1d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, 6 Mar 2018 21:20:48 +0100 Hartmut Goebel wrote: > Hi, >=20 > I'm retracting this patch. The implementation is wrong, fixing it > requires too many changes and the use is arguable. So we should not > spend much tome on it. >=20 > Thanks for reviewing and feedback :-) >=20 Do you think with gvpr one could write a dot2tgf? Here is the manual and an example: https://manpages.debian.org/testing/graphviz/gvpr.1.en.html https://gist.github.com/blabber/74b8d9ed59d0b2ad0d7a734113996424/ Bj=C3=B6rn --Sig_/nqbkMcE_n=xbnx3j3g5At1d Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlqfApIACgkQvyhstlk+X/3w7ACgk+02Hi2Xdr6fHoxpRZXxlliT QCoAn3+iU1yhXbtEnN+E2LK2Zuc1zxBP =8PwQ -----END PGP SIGNATURE----- --Sig_/nqbkMcE_n=xbnx3j3g5At1d-- From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 06 16:23:28 2018 Received: (at 30711-close) by debbugs.gnu.org; 6 Mar 2018 21:23:28 +0000 Received: from localhost ([127.0.0.1]:48113 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1etK3T-0005B9-To for submit@debbugs.gnu.org; Tue, 06 Mar 2018 16:23:28 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:54743) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1etK3S-0005B1-I9 for 30711-close@debbugs.gnu.org; Tue, 06 Mar 2018 16:23:27 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3zwqWd45DYz1qvTR; Tue, 6 Mar 2018 22:23:25 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 3zwqWd3Z9lz1qqkn; Tue, 6 Mar 2018 22:23:25 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id oD-JUBmvi3eq; Tue, 6 Mar 2018 22:23:24 +0100 (CET) Received: from hermia.goebel-consult.de (ppp-93-104-162-164.dynamic.mnet-online.de [93.104.162.164]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Tue, 6 Mar 2018 22:23:24 +0100 (CET) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 2B58C6015D; Tue, 6 Mar 2018 22:23:24 +0100 (CET) Subject: Re: bug#30711: [PATCH 1/1] guix: graph: Add Trival Graph Format (TGF) backend. To: =?UTF-8?B?QmrDtnJuIEjDtmZsaW5n?= References: <20180305114136.7207-1-h.goebel@crazy-compilers.com> <87h8pu8msv.fsf@gnu.org> <87po4hxznk.fsf@gnu.org> <8a311dbb-676e-17ee-79df-d0ab52c6f752@crazy-compilers.com> <20180306220521.555dd2a6@alma-ubu> From: Hartmut Goebel Organization: crazy-compilers.com Message-ID: Date: Tue, 6 Mar 2018 22:23:23 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180306220521.555dd2a6@alma-ubu> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 30711-close Cc: 30711-close@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Am 06.03.2018 um 22:05 schrieb Björn Höfling: > Do you think with gvpr one could write a dot2tgf? May, but not owrth the effort IMHO. Esp. since I just discovered graphviz includes "gv2gml" [1] and gml is an import- format for yed. Thus this solves my problem :-) Many thanks for pointing to [1]. Side-note: I'd be interested in a tool for interactively rearrange dot graphs, zoom in/out, showing neighbors, etc. much like yed does. Any idea? [1] https://manpages.debian.org/testing/graphviz/index.html -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 12 10:30:59 2018 Received: (at 30711-close) by debbugs.gnu.org; 12 Mar 2018 14:30:59 +0000 Received: from localhost ([127.0.0.1]:57035 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1evOTb-0001Yp-2Q for submit@debbugs.gnu.org; Mon, 12 Mar 2018 10:30:59 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:51590) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1evOTZ-0001Yi-GU for 30711-close@debbugs.gnu.org; Mon, 12 Mar 2018 10:30:58 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id F083D12240; Mon, 12 Mar 2018 15:30:56 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rRabkmig3_iI; Mon, 12 Mar 2018 15:30:56 +0100 (CET) Received: from ribbon (vpn-0-27.aquilenet.fr [IPv6:2a0c:e300:4:27::]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 2086F11FB0; Mon, 12 Mar 2018 15:30:56 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Hartmut Goebel Subject: Re: [bug#30711] [PATCH 1/1] guix: graph: Add Trival Graph Format (TGF) backend. References: <20180305114136.7207-1-h.goebel@crazy-compilers.com> <87h8pu8msv.fsf@gnu.org> <87po4hxznk.fsf@gnu.org> <8a311dbb-676e-17ee-79df-d0ab52c6f752@crazy-compilers.com> <20180306220521.555dd2a6@alma-ubu> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 22 =?utf-8?Q?Vent=C3=B4se?= an 226 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 12 Mar 2018 15:30:55 +0100 In-Reply-To: (Hartmut Goebel's message of "Tue, 6 Mar 2018 22:23:23 +0100") Message-ID: <874lllpdr4.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 30711-close Cc: =?utf-8?Q?Bj=C3=B6rn_H=C3=B6fling?= , 30711-close@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Hartmut Goebel skribis: > Side-note: I'd be interested in a tool for interactively rearrange dot > graphs, zoom in/out, showing neighbors, etc. much like yed does. Any idea? Tulip, which is developed in the lab next to where I work, should support that: http://tulip.labri.fr/TulipDrupal/ Ludo=E2=80=99. From unknown Sat Aug 16 18:41:01 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 10 Apr 2018 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator