Fork me on GitHub
#clerk
<
2023-09-13
>
otfrom16:09:57

Is anyone doing flow charts or activity diagrams (say in plantuml) in clerk? I'm wondering if the easiest way is to just make the png file and then show it as a graphic.

Daniel Craig16:09:33

I haven't tried this but I'm curious to see how you could do it

Daniel Craig16:09:07

inline svg's are pretty nice to work with with reagent, that's been my experience at least. I haven't tried it with clerk

Daniel Craig16:09:29

not sure whether reagent is really available from clerk so I might be off topic

Daniel Craig16:09:29

I'm a bit of a noob, though. I'm not really sure if you really need reagent to do inline svg's, or if that's more on the hiccup side. Like I said, kind of a noob

zane16:09:33

I think there’s a mermaid viewer?

mkvlr16:09:14

hiccup svg also just works via clerk/html

mkvlr16:09:30

or an svg string

Daniel Craig16:09:56

Oh cool so yeah, an svg using hiccup would be the route I would go with this

otfrom17:09:34

thx for the reminder about mermaid

1
otfrom17:09:54

I've got an image working, but I think it might be tricky to ship as a html (not tried yet though)

jackrusher23:09:37

+1 on preferring SVG when it can be made to work

👍 1
otfrom07:09:10

makes me keep coming back to wanting more built with thing.geom

👍 1
grounded_sage12:09:24

I'm building with thing.geom. Definitely enjoying it. Unsure how well it will hold since I want to do a lot of interactivity.

🆒 1
👍 1
otfrom12:09:07

do you have any examples you can share?

grounded_sage12:09:15

It's a super baby project but I am happy to chat and add you to the repo if it makes sense. I'll shift to dm.

👍 1