This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-03-16
Channels
- # announcements (11)
- # atom-editor (4)
- # babashka (26)
- # beginners (126)
- # calva (35)
- # chlorine-clover (14)
- # clj-kondo (50)
- # cljfx (1)
- # cljs-dev (1)
- # cljsrn (3)
- # clojure (31)
- # clojure-europe (144)
- # clojure-germany (2)
- # clojure-nl (3)
- # clojure-serbia (17)
- # clojure-spain (11)
- # clojure-uk (38)
- # clojurescript (87)
- # community-development (1)
- # conjure (1)
- # datalog (1)
- # datascript (160)
- # datomic (28)
- # duct (2)
- # emacs (4)
- # events (1)
- # figwheel-main (1)
- # fulcro (15)
- # graalvm (4)
- # honeysql (53)
- # jobs (2)
- # jobs-discuss (14)
- # juxt (6)
- # lsp (59)
- # malli (13)
- # music (1)
- # off-topic (8)
- # pathom (22)
- # portal (7)
- # re-frame (2)
- # reagent (3)
- # releases (1)
- # remote-jobs (1)
- # rewrite-clj (1)
- # shadow-cljs (25)
- # sql (3)
- # tools-deps (38)
- # xtdb (17)
@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/
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 🙂 ]