tech-misc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Objections to converting bsd-family-tree to a dot file



On 16 December 2017 at 18:12, Mark Heily <mark%heily.com@localhost> wrote:
> On Sat, Dec 16, 2017 at 2:49 PM, Rodney W. Grimes
> <freebsd-rwg%pdx.rh.cn85.dnsmgr.net@localhost> wrote:
>>
>> > On 15 December 2017 at 08:43, Lyndon Nerenberg <lyndon%orthanc.ca@localhost>
>> > 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


Home | Main Index | Thread Index | Old Index