Re: Objections to converting bsd-family-tree to a dot file
Eitan Adler <[email protected]> Sat, 16 Dec 2017 19:30:02 -0800
| Newsgroups | gmane.os.netbsd.devel.general,gmane.os.freebsd.devel.hackers,gmane.os.dragonfly-bsd.kernel |
|---|---|
| Message-ID | <CAF6rxgnMKq5txw48-NsxdjxqQZ8zr7wp_-fkGT_9FdZfp5mOmQ@mail.gmail.com> |
On 16 December 2017 at 18:12, Mark Heily <[email protected]> wrote: > On Sat, Dec 16, 2017 at 2:49 PM, Rodney W. Grimes > <[email protected]> wrote: >> >> > On 15 December 2017 at 08:43, Lyndon Nerenberg <[email protected]> >> > 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