Here’s how to add graphviz to Pollen <https://github.com/mbutterick/pollen-users/issues/46>. The same technique can be used for Scribble, but you would want to use image <https://docs.racket-lang.org/scribble/base.html?q=image#%28def._%28%28lib._scribble%2Fbase..rkt%29._image%29%29> as the tag function. You might also need to use define-runtime-path <https://docs.racket-lang.org/reference/Filesystem.html?q=define-runtime-path#%28form._%28%28lib._racket%2Fruntime-path..rkt%29._define-runtime-path%29%29> .
On Wed, Jan 27, 2021 at 9:23 PM Tim Meehan <btmee...@gmail.com> wrote: > IMHO, Racket's documentation is the gold standard. I tell everyone I work > with that we should document things this well. > Until now, I haven't seen any room for potential improvements. > > Now, I like ASCII art as much as the next person, but when I was reading > the documentation for the GUI class hierarchy, I remembered that there was > a graphviz <https://github.com/pykello/racket-graphviz> package for > Racket now. > I'm no good with Scribble, but I bet that someone clever could add some > automatic graphs to it without much trouble. > > I'm not much good at GraphViz either, but here is my take on the first two > ASCII art diagrams. I just used "dot -Tpdf" to make the tests. > > -- > 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/CACgrOxKkeVxdMq9-94%2BX87oCmBKaY0XHg-Sq4yj-fPLy%2B6MYyg%40mail.gmail.com > <https://groups.google.com/d/msgid/racket-users/CACgrOxKkeVxdMq9-94%2BX87oCmBKaY0XHg-Sq4yj-fPLy%2B6MYyg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- 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/CADcuegstUJsYGjcm5C7_Hniw_%3DTvb69FyQa820JN4vP0kChD%2BA%40mail.gmail.com.