Date: Sat, 16 Dec 2017 19:30:02 -0800 From: Eitan Adler <lists@eitanadler.com> To: Mark Heily <mark@heily.com> Cc: "Rodney W. Grimes" <freebsd-rwg@pdx.rh.cn85.dnsmgr.net>, FreeBSD Hackers <freebsd-hackers@freebsd.org>, tech-misc@netbsd.org, Lyndon Nerenberg <lyndon@orthanc.ca>, Kernel@dragonflybsd.org Subject: Re: Objections to converting bsd-family-tree to a dot file Message-ID: <CAF6rxgnMKq5txw48-NsxdjxqQZ8zr7wp_-fkGT_9FdZfp5mOmQ@mail.gmail.com> In-Reply-To: <CAGfo=8nNo_-zJAQ-Rp8aD-fdV1oXsh331i5eUkccecOme1TGDw@mail.gmail.com> References: <CAF6rxgnma1ntnMONbbk0joMaQC5NkkEEZ2ze7uCubj%2B_DLyrrA@mail.gmail.com> <201712161949.vBGJnnMR008332@pdx.rh.CN85.dnsmgr.net> <CAGfo=8nNo_-zJAQ-Rp8aD-fdV1oXsh331i5eUkccecOme1TGDw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 16 December 2017 at 18:12, Mark Heily <mark@heily.com> wrote: > On Sat, Dec 16, 2017 at 2:49 PM, Rodney W. Grimes > <freebsd-rwg@pdx.rh.cn85.dnsmgr.net> wrote: >> >> > On 15 December 2017 at 08:43, Lyndon Nerenberg <lyndon@orthanc.ca> >> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF6rxgnMKq5txw48-NsxdjxqQZ8zr7wp_-fkGT_9FdZfp5mOmQ>