Re: List graph library?

2017-04-06 Thread Christopher Howard
Hi, thanks. That 'view function might be sufficient for my present needs
(debugging some generated data structures) but I'll keep Graphviz in the
back of my mind.

Does somebody already have a PicoLisp lib for converting lists -> DOT?

On 04/06/2017 08:26 AM, Loyall, David wrote:
>> Does somebody have a FOSS library handy for graphing a picolisp list (like, 
>> hierarchically)? Say, SVG format or something?
> 
> Christopher, are you familiar with Graphviz?
> 
> It's a 26 year old suite of tools.  https://en.wikipedia.org/wiki/Graphviz
> 
> I generally use lisp (common lisp, actually) to generate text files in the 
> DOT language and then use the standard graphviz tools to render images in 
> various formats including SVG.
> 
> Another option, which I have not tried but may be powerful is to use FFI to 
> programmatically build graphs and render them using the various graphviz C 
> APIs.
> 
> I hope this information is helpful.
> 
> Cheers,
> --Dave
> PԔ � )mX�����zV�u�.n7�����r��e===
> 

-- 
Christopher Howard, Computer Assistant
Alaska Satellite Internet
3239 La Ree Way, Fairbanks, AK 99709
907-451-0088 or 888-396-5623 (toll free)
fax: 888-260-3584
mailto:christop...@alaskasi.com
http://www.alaskasatelliteinternet.com
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


RE: List graph library?

2017-04-06 Thread Loyall, David
> Does somebody have a FOSS library handy for graphing a picolisp list (like, 
> hierarchically)? Say, SVG format or something?

Christopher, are you familiar with Graphviz?

It's a 26 year old suite of tools.  https://en.wikipedia.org/wiki/Graphviz

I generally use lisp (common lisp, actually) to generate text files in the DOT 
language and then use the standard graphviz tools to render images in various 
formats including SVG.

Another option, which I have not tried but may be powerful is to use FFI to 
programmatically build graphs and render them using the various graphviz C APIs.

I hope this information is helpful.

Cheers,
--Dave


Re: List graph library?

2017-04-05 Thread Alexander Burger
On Wed, Apr 05, 2017 at 04:56:12PM -0800, Christopher Howard wrote:
> Hi. Does somebody have a FOSS library handy for graphing a picolisp list
> (like, hierarchically)? Say, SVG format or something? I can't imagine
> somebody else hasn't already tackled that problem...

Besides for a full-blown library, you perhaps know the 'view' function, which
graphs list structures in ASCII

   https://software-lab.de/doc/refV.html#view

♪♫ Alex
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: List graph library?

2017-04-05 Thread Michel Pelletier
It would be pretty easy to generate 'dot' from picolisp:

https://en.wikipedia.org/wiki/DOT_(graph_description_language)

On Wed, Apr 5, 2017 at 5:56 PM, Christopher Howard <
christopher.how...@qlfiles.net> wrote:

> Hi. Does somebody have a FOSS library handy for graphing a picolisp list
> (like, hierarchically)? Say, SVG format or something? I can't imagine
> somebody else hasn't already tackled that problem...
>
> --
> https://qlfiles.net
> --
> UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
>


List graph library?

2017-04-05 Thread Christopher Howard
Hi. Does somebody have a FOSS library handy for graphing a picolisp list
(like, hierarchically)? Say, SVG format or something? I can't imagine
somebody else hasn't already tackled that problem...

-- 
https://qlfiles.net
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe