From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: David Pirotte Newsgroups: gmane.lisp.guile.user Subject: Re: Looking for graph library Date: Sun, 9 Oct 2022 15:47:24 -0300 Message-ID: <20221009154724.507c016f@aicha> References: <87edvibocv.fsf@gmail.com> <20221008212014.16e2a2e5@aicha> <87czb1jmj9.fsf@elephly.net> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/i.uI_zTs716a+Na.P7+mO=r"; protocol="application/pgp-signature"; micalg=pgp-sha512 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7687"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Dmitry Polyakov , guile-user@gnu.org To: Ricardo Wurmus Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sun Oct 09 20:48:17 2022 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ohbLU-0001o5-DT for guile-user@m.gmane-mx.org; Sun, 09 Oct 2022 20:48:16 +0200 Original-Received: from localhost ([::1]:47028 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ohbLT-0005hp-2K for guile-user@m.gmane-mx.org; Sun, 09 Oct 2022 14:48:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56982) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohbKt-0005hg-0d for guile-user@gnu.org; Sun, 09 Oct 2022 14:47:39 -0400 Original-Received: from maximusconfessor.all2all.org ([79.99.200.102]:57398) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohbKq-0005Uu-Jq for guile-user@gnu.org; Sun, 09 Oct 2022 14:47:38 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by maximusconfessor.all2all.org (Postfix) with ESMTP id 1DE521BE02D7; Sun, 9 Oct 2022 20:47:33 +0200 (CEST) Original-Received: from maximusconfessor.all2all.org ([127.0.0.1]) by localhost (maximusconfessor.all2all.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ttWPQP7W0XUm; Sun, 9 Oct 2022 20:47:33 +0200 (CEST) Original-Received: from aicha (unknown [179.210.48.245]) by maximusconfessor.all2all.org (Postfix) with ESMTPSA id 144201BE02CF; Sun, 9 Oct 2022 20:47:30 +0200 (CEST) In-Reply-To: <87czb1jmj9.fsf@elephly.net> X-Mailer: Claws Mail 4.1.0 (GTK 3.24.34; x86_64-pc-linux-gnu) Received-SPF: pass client-ip=79.99.200.102; envelope-from=david@altosw.be; helo=maximusconfessor.all2all.org X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:18614 Archived-At: --Sig_/i.uI_zTs716a+Na.P7+mO=r Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello Ricardo, > > https://reposcope.com/man/en/3guile/gv =20 > Yes, graphviz comes with Guile bindings. Since they don=E2=80=99t provid= e a > Guile module you need to define a module like this: > --8<---------------cut here---------------start------------->8--- > (define-module (libgv) > #:export (digraph node edge layout render setv)) >=20 > (load-extension "libgv_guile" "SWIG_init") > --8<---------------cut here---------------end--------------->8--- Right, but the module I was looking at - but did not try - exports quite a lot more functionality ... https://github.com/roelj/graphviz-guile/blob/master/graphviz.scm David --Sig_/i.uI_zTs716a+Na.P7+mO=r Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEhCJlRZtBM3furJHe83T9k6MFetcFAmNDFzwACgkQ83T9k6MF ete/DAgAi3leL4BFS8aJuhFqXnVmKwCmflT3HowJMI25O//18hvsKNF2azkpZB4g C+9jH98KRLbUAnifPuCwsa1UKkXyRruOphe3wIpt7FDjdw4I1VTrpQXtgkJQwlOb ZL9ZmTaqoGZMfnOc6/ae8arK73UaP4HhatcKup83+NqlPvZ+gP+0Hqlctcp7Uiii 7N0IL1HNoqeTO3w49rh41ccR7hnINwXrV2jslOYitbERCKPDN4b21F2CNQnXkF9n 7oHu/v54yeM6Pz8rcVPfxP9z9STXd9+/tQ0cKeL0HxDzSxZKdzjOocWIgNaVoEkn jWxIPMMShcVFp03nZ22887aUkOQe1Q== =OTZr -----END PGP SIGNATURE----- --Sig_/i.uI_zTs716a+Na.P7+mO=r--