@ikitommi trying to get the graphviz example working with dorothy
but it's all a string. What do you use to render it?
@raymcdermott try println
I meant to a PNG or whatever ...
oh, thatโฆ ๐ just dot
from command line or the online version, e.g. https://sketchviz.com/
love the sketches
but, with dorothy, this seems to work:
(require '[dorothy.core :as d])
(->> (md/transform Order) (d/show!))
ok ... I was holding it wrong
also m/walk
... thank you!!
having said that
how do I use it to drop or add in Swagger attributes?
(def Org-Ref
[:map {:title "Organisation name"}
[:ref {:swagger/description "Reference to the organisation"
:swagger/example "Acme floor polish, Houston TX"} Name]])
I tried mu/update-properties
but that only seems to operate at the top level
[ cos they clutter up the graphics ๐ ]