From owner-freebsd-hackers@freebsd.org Sun Dec 17 03:30:34 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4EC26E9EBBE for ; Sun, 17 Dec 2017 03:30:34 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-yb0-x22c.google.com (mail-yb0-x22c.google.com [IPv6:2607:f8b0:4002:c09::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 064A2806D6 for ; Sun, 17 Dec 2017 03:30:34 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: by mail-yb0-x22c.google.com with SMTP id t127so8836587ybf.9 for ; Sat, 16 Dec 2017 19:30:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=72EQuNRad1/2RImkOApYhzEhtZuQ3kDxNWloPaKNSlc=; b=tf7fMFz21knX1q8xZYZ/8XX2Yz8RQ0IW2yNqEZ7aCyMEWBTiJrfNb/vSqENUHQleYz VS05GN+3jCxZA02xIJkvycLfpvjR3DmWeZGbE/Smn8QwrR1hm0dJ1hIGJMggyf3wZ0lj KSYBYeWrm9IzpHxDmIHdFJxvix+4PokAbG06E= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=72EQuNRad1/2RImkOApYhzEhtZuQ3kDxNWloPaKNSlc=; b=G1QlBg4K5lztiA5uOcqubnVK4/mxc7HiNbdkoGDQY7PrhQIg9/OXzfi7MoOYRKbSBF DxGcndne8Aet5qyyDGNG8UakcS/8DwGYPYRyhuPZ8GU2ja9Boh7uBiOT0/ey+njy44Py 6WxfpHX93zuPuvXi6OSCmeGPSOVfqDl2bKHmVNGhmnExVxZ7OGwvzDxsVlwNEfA6tvkx YwJ3tonSzSmqFDx3LkFL+tdALPxO2h9WPm8iFMrMcmgw6p4ZrlQO1otH3X8miyd5LSXO l6WB22iibZ3HtoPkVdPzbO20VVJrAfAUmxnr8yiDD60q5A3Cfaz/izfS4C44N/5Eh9Xq CRrg== X-Gm-Message-State: AKGB3mJmDUjj5xAo4ZWWzUsjHKWOOKR7DXBle/MxsDKDXPPKK6ENm6ec CCBOvZ8RnWRzxTNat4cDwuZ/dWDLQa0mzneHMzfaVQ== X-Google-Smtp-Source: ACJfBosv5iRuadSRrnHoywFRnhv693prLraTKlT9cD7Gixbi/vOmOZ0LX32430Q7eBljg8/JvCgPFlrgKxpUS3+XTy0= X-Received: by 10.129.122.194 with SMTP id v185mr11146772ywc.204.1513481432806; Sat, 16 Dec 2017 19:30:32 -0800 (PST) MIME-Version: 1.0 Received: by 10.37.15.66 with HTTP; Sat, 16 Dec 2017 19:30:02 -0800 (PST) In-Reply-To: References: <201712161949.vBGJnnMR008332@pdx.rh.CN85.dnsmgr.net> From: Eitan Adler Date: Sat, 16 Dec 2017 19:30:02 -0800 Message-ID: Subject: Re: Objections to converting bsd-family-tree to a dot file To: Mark Heily Cc: "Rodney W. Grimes" , FreeBSD Hackers , tech-misc@netbsd.org, Lyndon Nerenberg , Kernel@dragonflybsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Dec 2017 03:30:34 -0000 On 16 December 2017 at 18:12, Mark Heily wrote: > On Sat, Dec 16, 2017 at 2:49 PM, Rodney W. Grimes > wrote: >> >> > On 15 December 2017 at 08:43, Lyndon Nerenberg >> > wrote: >> > >> I'd like to turn this into into a dot file >> > > Sounds like a reasonable idea. With care, the source (text) file(s) >> > > can >> > > often be formatted in a way that's at least semi-readable. I assume >> > > this >> > > would ship with pregenerated images (PDF, SVG) so people don't have to >> > > install the port to render the graph? >> > >> > >> > The overall consensus seems to be: so long as there is a reasonable >> >> > way to view this file in plaintext without requiring a tool in base, >> > its fine. I'll likely run with that after ironing out the conversion >> > bit. >> >> I have seen no presentation of a reasonable way to view the >> graph in plain text. > > > I have no personal experience with it, but a quick Google search says > there are programs based on the Graph::Easy library that can > render DOT files as ASCII. > > Example: > > https://codeyarns.com/2017/10/21/how-to-convert-dot-graph-to-ascii/ I have not spent time with changing flags or making this output nice, but this is the naive output of graph::easy https://people.freebsd.org/~eadler/files/family-tree/ascii.txt -- Eitan Adler