this looks very nice! Thank you for sharing this. 

Don't forget to put it in a `package` and publish it on 
https://pkgs.racket-lang.org/ 

kind regards, 

Stephen 


On Wednesday, July 31, 2019 at 11:52:05 PM UTC+1, Hadi Moshayedi wrote:
>
> Hello Racketeers,
>
> Recently I've started thinking about on how we can create different kinds 
> of diagrams in Racket. One of the tools that seemed easy to be exposed as a 
> library in Racket seems to be Graphviz. You can pipe in the graph 
> definition into it and it will pipe out the json layout of how to draw the 
> graph.
>
> So I started working on https://github.com/pykello/racket-graphviz, which 
> is in early stages, but I thought I can share here for some feedback.
>
> Some highlights are:
>  - Digraphs are defined as s-expressions
>  - (digraph->pict ...) converts the digraph to a Racket Pict which can be 
> composed with other Picts and you can use in slideshow, etc.
>  - Graphviz has some standard node shapes, but with this library you can 
> use any Pict value as the node shape! See the examples in the README file.
>
> I have plans like being able to query the layout of each node so we can 
> draw an arrow from a Graphviz layout to anything else.
>
> After making this something useful, I was thinking about writing some 
> other libraries to make different kinds of system diagrams (sequence 
> diagram, timeline diagram, ...) easy to generate in Racket.
>
> Any feedback? Do you think this can be useful?
>
> -- Hadi
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/f43b67f9-d594-4702-8d04-311b91244147%40googlegroups.com.

Reply via email to